Hello People,
Im getting an assertion at OgreMemoryManager.cpp line 1116
at this line exately :
deallocationType == m_alloc_unknown
Can anyone tell me what it means and what i can do to prevent or correct it ?
( My app is deallocating a chunk og memory right before it asserts the memory is of the type void* and has the same address as allocated i think )
Ogre::MemoryManager assertion?
- DWORD
- OGRE Retired Moderator

- Posts: 1365
- Joined: Tue Sep 07, 2004 12:43 pm
- Location: Aalborg, Denmark
- Contact:
Right before the assert in OgreMemoryManager.cpp line 1106:
A possible cause could be you're trying to deallocate an array with 'delete' instead of 'delete[]' when it was allocated with 'new T[]'.
Code: Select all
// If you hit this assert, you were trying to deallocate RAM that was
// not allocated in a way that is compatible with the deallocation
// method requested. In other words, you have a allocation/deallocation
// mismatch.