Trying to Free Object On Heap As Array Throwing Debug Asserts
If some code throws a _IsCrtValidPointer or some error along those lines using the debug versions of Free() will that be a problem in the Release versions? Memory Corruption/Leak?
In debug this throws an assertion, but under Release it runs fine.. what I'm wondering is does the Release version leak or corrupt memory in anyway?
a = new Foo;
delete  a; <-- Throws the Assert mentioned above
// Code above should be delete a;