Fix leak when rendering OpenGL animations

We were duplicating rectf twice :/

Patch by Clément Foucault.
This commit is contained in:
Dalai Felinto 2018-01-04 15:56:41 -02:00
parent 0becc8a7dd
commit 95d83b9b23
Notes: blender-bot 2023-02-14 06:17:17 +01:00
Referenced by issue #53696, Hue Saturation Value bug bug
Referenced by issue #53683, 2.79a release
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}