Fix #34938: Not freeing dynstr_cstring memory blocks when setting shape keys
In fact almost any rna pointer-to-string had a memory leak. Patch by Jakub Zolcik (sftd) with minor modification.
This commit is contained in:
@@ -4348,6 +4348,7 @@ char *RNA_path_full_struct_py(struct PointerRNA *ptr)
|
||||
id_path, data_path);
|
||||
|
||||
MEM_freeN(data_path);
|
||||
MEM_freeN(id_path);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user