Commit: 00394745d41f333e07b1b1f414e61e31f5586a0e
Author: Julian Eisel
Date:   Mon Dec 21 20:33:14 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB00394745d41f333e07b1b1f414e61e31f5586a0e

Fix memory leak when looking through a selected camera.

===================================================================

M       source/blender/editors/transform/transform_manipulator.c

===================================================================

diff --git a/source/blender/editors/transform/transform_manipulator.c 
b/source/blender/editors/transform/transform_manipulator.c
index 0f62269..8c756970 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1088,6 +1088,7 @@ void WIDGETGROUP_manipulator_create(const struct bContext 
*C, struct wmWidgetGro
                }
                MAN_ITER_AXES_END;
 
+               MEM_freeN(man);
                return;
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to