fix for own error in 24623, removed a memfree call,

printed lots of errors like this one exit
 dynstr_cstring len: 24 0x54c4cb0
This commit is contained in:
Campbell Barton 2009-11-18 13:14:49 +00:00
parent d3794d9f94
commit a62b3a534b

@ -2552,6 +2552,7 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop)
if(ptrpath) {
path= BLI_sprintfN(is_rna ? "%s.%s":"%s[\"%s\"]", ptrpath, propname);
MEM_freeN(ptrpath);
}
else {
if(is_rna)