[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24640] trunk/blender/source/blender/ makesrna/intern/rna_access.c: fix for own error in 24623, removed a memfree call,

Campbell Barton ideasman42 at gmail.com
Wed Nov 18 14:14:49 CET 2009


Revision: 24640
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24640
Author:   campbellbarton
Date:     2009-11-18 14:14:49 +0100 (Wed, 18 Nov 2009)

Log Message:
-----------
fix for own error in 24623, removed a memfree call,
printed lots of errors like this one exit
 dynstr_cstring len: 24 0x54c4cb0

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_access.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_access.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_access.c	2009-11-18 13:02:09 UTC (rev 24639)
+++ trunk/blender/source/blender/makesrna/intern/rna_access.c	2009-11-18 13:14:49 UTC (rev 24640)
@@ -2552,6 +2552,7 @@
 
 	if(ptrpath) {
 		path= BLI_sprintfN(is_rna ? "%s.%s":"%s[\"%s\"]", ptrpath, propname);
+		MEM_freeN(ptrpath);
 	}
 	else {
 		if(is_rna)





More information about the Bf-blender-cvs mailing list