Memory is usually allocated in the stack f.i. when u define local variables the memory is freed after the function is terminated.
But if you allocate memory urself (with new, malloc or any create command) its stored in the heap - and you have to free it urself(with delete resp- engine objects with ptr_remove). Otherwise you get memory leaks.


I <3 LINQ