diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-30 17:07:55 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-30 17:07:55 +0400 |
commit | ada8dbe12aebdcd8c67c4299eb1f17b4cbe5ed2b (patch) | |
tree | 210abb558426670086fa01aeb2aa0b5f5bac5ea5 /source/blender/compositor/operations | |
parent | be21080cb66194c3ccfe5a6b3ca9853b2b9601de (diff) |
* fixed memory leak in compositor operation.
- leaked when render result could not be received.
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_CompositorOperation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_CompositorOperation.cpp b/source/blender/compositor/operations/COM_CompositorOperation.cpp index 5a919965ede..09e172f395e 100644 --- a/source/blender/compositor/operations/COM_CompositorOperation.cpp +++ b/source/blender/compositor/operations/COM_CompositorOperation.cpp @@ -68,6 +68,10 @@ void CompositorOperation::deinitExecution() MEM_freeN(rr->rectf); } rr->rectf = outputBuffer; + } else { + if (this->outputBuffer) { + MEM_freeN(this->outputBuffer); + } } if (re) { RE_ReleaseResult(re); |