Freeing memory twice
- by benjamin button
Hi,
AFAIK, freeing a NULL pointer will result in nothing. I mean nothing is being done by the compiler/no functionality is performed.
Still, I do see some statements where people say that one of the scenarios where memory corruption can occur is "freeing memory twice"?
Is this still true?