[Bf-blender-cvs] [0039474] wiggly-widgets: Fix memory leak when looking through a selected camera.

Julian Eisel noreply at git.blender.org
Mon Dec 21 20:34:42 CET 2015


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




More information about the Bf-blender-cvs mailing list