diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-02 12:48:43 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-02 12:48:43 +0400 |
commit | 6a30321434089fb4a4e189d72d0c4c1355c534a3 (patch) | |
tree | fc056301f9954faf11666092d47506bbbcba6b7b /source/blender/collada | |
parent | 722e0d38ac34923be344443651b8c7c39a9d86b8 (diff) |
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.
Diffstat (limited to 'source/blender/collada')
0 files changed, 0 insertions, 0 deletions