forked from bartvdbraak/blender
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:
parent
d3794d9f94
commit
a62b3a534b
@ -2552,6 +2552,7 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop)
|
|||||||
|
|
||||||
if(ptrpath) {
|
if(ptrpath) {
|
||||||
path= BLI_sprintfN(is_rna ? "%s.%s":"%s[\"%s\"]", ptrpath, propname);
|
path= BLI_sprintfN(is_rna ? "%s.%s":"%s[\"%s\"]", ptrpath, propname);
|
||||||
|
MEM_freeN(ptrpath);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(is_rna)
|
if(is_rna)
|
||||||
|
Loading…
Reference in New Issue
Block a user