Blender Git Commit Log

Git Commits -> Revision b711409

Revision b711409 by Stephen Swaney (master)
October 12, 2004, 23:58 (GMT)
fix numerous memory leaks in the math types.
fixed bug: #1633 Memory leak in M_Mathutils_Vector

The math types ( matrix, vector, quad ) now make
copies of data passed to them rather than holding
a pointer to memory that cannot be freed, or that
may go away unexpectedly.

This also clarifies the problem of who is responsible
for freeing memory allocations.

Pre-checkin files are tagged mem_leak-1 in case this
breaks something.

Commit Details:

Full Hash: b711409f8d47b6b5466776876bfbb382f309f7dc
SVN Revision: 3239
Parent Commit: 4e8b2ba
Lines Changed: +205, -81

3 Modified Paths:

/source/blender/python/api2_2x/Mathutils.c (+116, -40) (Diff)
/source/blender/python/api2_2x/quat.c (+43, -16) (Diff)
/source/blender/python/api2_2x/vector.c (+46, -25) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021