[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29062] trunk/blender/source/blender/ editors/sound/sound_ops.c: Fix for Error Totblock for Sound_OT_open

Dalai Felinto dfelinto at gmail.com
Sat May 29 10:49:48 CEST 2010


Revision: 29062
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29062
Author:   dfelinto
Date:     2010-05-29 10:49:48 +0200 (Sat, 29 May 2010)

Log Message:
-----------
Fix for Error Totblock for Sound_OT_open

Error Totblock: 1
OpenPropertyPointerRNA len: 32 0x11111111

I'm not quite sure this has to be done here, or when the actuator is removed (Matt, do we need the customdata pointer for anything later?).
Doing it here seems to be fine so far.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sound/sound_ops.c

Modified: trunk/blender/source/blender/editors/sound/sound_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sound/sound_ops.c	2010-05-29 07:31:40 UTC (rev 29061)
+++ trunk/blender/source/blender/editors/sound/sound_ops.c	2010-05-29 08:49:48 UTC (rev 29062)
@@ -118,6 +118,7 @@
 		RNA_property_update(C, &pprop->ptr, pprop->prop);
 	}
 
+	MEM_freeN(op->customdata);
 	return OPERATOR_FINISHED;
 }
 





More information about the Bf-blender-cvs mailing list