diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-11 12:06:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-11 12:06:36 +0300 |
commit | d5d7d453a5ce506e2d01e0d329447168135c4cb4 (patch) | |
tree | 1e16c7ff1d27c7c63781df004edcf216ffba6460 /release | |
parent | 1dfc4be6abeded19b50373e909282208edb18b6d (diff) |
Fix memory leak caused by node clipboard
The issue was caused by combination of following factors:
- Clipboard cleanup function will pass node tree as NULL to node free
function.
This is fine on it's own, we don't have tree in clipboard.
- Node free function will call node storage cleanup only when there is
a non-NULL node tree.
This is somewhat weird, because storage cleanup does not take node
tree as argument.
So the solution here: move node storage cleanup outside of check that
node tree is not NULL.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions