Now correct me if i'm wrong, but all the line of code I flagged is doing is trying to deallocate a dynamic array of int pointers. The index gives you a valid int**.
I am using VC++ 2008 express. The message is about a failed debug assertion as says: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
Dunno if that helps. But could this maybe be something screwy with VC++? I don't see how my syntax is erroneus.
But still, even if this is supposed to work, am I actually deallocating everything properly or am I leaking something?