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?
Ex:
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?Code:Class Foo { } Foo *a[2]; a[1] = new Foo; delete [] a[1]; <-- Throws the Assert mentioned above // Code above should be delete a[1];