Blender Git Commit Log
Git Commits -> Revision 6a30321
Revision 6a30321 by Sergey Sharybin (master) February 2, 2012, 08:48 (GMT) |
Fix #29381: Navmeshs frees not guarded allocated memory and leaked There were two issues discovered: - Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object - KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded freeing stuff to free used memory, producing error messages in the console and leading to memory leak. Wasn't actually harmful for users -- there was no memory corruptions and error happens only when object was set up in a way when navmesh can't work in theory. |
Commit Details:
Full Hash: 6a30321434089fb4a4e189d72d0c4c1355c534a3
SVN Revision: 43842
Parent Commit: 722e0d3
Lines Changed: +4, -2