Blender Git Loki

Git Commits -> Revision 3c09beb

Revision 3c09beb by Campbell Barton (master)
May 14, 2021, 09:25 (GMT)
Fix memory leak in IDPropertyGroup.pop()

When popping ID-property groups/arrays,
ID-property was removed but not freed.

Now the value is converted to a native Python type and freed.

Commit Details:

Full Hash: 3c09beb3b1f785c920eed3d61f7c2a2a06deba50
Parent Commit: fce7954
Lines Changed: +13, -7

4 Modified Paths:

/source/blender/python/generic/idprop_py_api.c (+2, -2) (Diff)
/source/blender/python/generic/idprop_py_api.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+7, -2) (Diff)
/tests/python/bl_pyapi_idprop.py (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021