Open your program, then open task manager and looks at the memory usage for the application. If it is constantly rising then, you gotta a memory leak somewhere.
Sounds like a resource being freed then trying to locate that resource again. I'm sure calling freeentity only free's it from memory, but still leaves the variable holding a memory location. So try setting vars to zero after freeing and checking all resources handles for non zero values if you think they have been freed.
Sounds like a resource being freed then trying to locate that resource again. I'm sure calling freeentity only free's it from memory, but still leaves the variable holding a memory location. So try setting vars to zero after freeing and checking all resources handles for non zero values if you think they have been freed.