diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-09 21:31:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-09 21:31:34 +0400 |
commit | 0b449df5daa46e658f78a1d69e35b945dd998431 (patch) | |
tree | d85534fb6b8d41a973284307ffbae848351389b6 /source/blender/makesrna/intern/rna_access.c | |
parent | f652b11ed13b4d9e6705ede9cc990042a2fad4b4 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 3d2f29b94af..b36ffc7bbe7 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -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; } |