diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-04 20:56:41 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-04 20:56:43 +0300 |
commit | 95d83b9b23e4aa8158e20fc94ec68b793c4bb87a (patch) | |
tree | 56b5974e7aec555cac08281be853128aef6296ef /source/blender/render/intern | |
parent | 0becc8a7dd6d527f05363434cd177936220e6da1 (diff) |
Fix leak when rendering OpenGL animations
We were duplicating rectf twice :/
Patch by Clément Foucault.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/render_result.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/render_result.c b/source/blender/render/intern/source/render_result.c index 88ccb9452ba..8ff485181c6 100644 --- a/source/blender/render/intern/source/render_result.c +++ b/source/blender/render/intern/source/render_result.c @@ -1489,9 +1489,6 @@ static RenderView *duplicate_render_view(RenderView *rview) if (new_rview->rectf != NULL) { new_rview->rectf = MEM_dupallocN(new_rview->rectf); } - if (new_rview->rectf != NULL) { - new_rview->rectf = MEM_dupallocN(new_rview->rectf); - } if (new_rview->rectz != NULL) { new_rview->rectz = MEM_dupallocN(new_rview->rectz); } |