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:
Sergey Sharybin
2013-04-09 17:31:34 +00:00
parent f652b11ed1
commit 0b449df5da

View File

@@ -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;
}