Blender Git Commit Log

Git Commits -> Revision 036c006

Revision 036c006 by Campbell Barton (master)
July 14, 2016, 08:31 (GMT)
PyAPI: Leak fix caused crash w/ attr swap trick

Accessing `bpy.app.binary_path_python does search, then swaps its getset with the string it finds.
This caused a freed pointer to be stored in bpy.app's dictionary.

Fix by using the same string for get/set access.

Commit Details:

Full Hash: 036c006cefe471a774b837acf0325282e3ad15d0
Parent Commit: b00bc3c
Lines Changed: +3, -3

1 Modified Path:

/source/blender/python/intern/bpy_app.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021