Jan 24, 2011 at 9:13pm
Thanks for the reply. When I implement the code, I get this error:
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
Last edited on Jan 24, 2011 at 9:14pm
Jan 25, 2011 at 5:22am
I found the problem. I was trying to deallocate the memory twice. I did not check in the object destructors for NULL pointers.