Freeing memory twice
Posted
by benjamin button
on Stack Overflow
See other posts from Stack Overflow
or by benjamin button
Published on 2010-03-18T10:01:32Z
Indexed on
2010/03/18
10:41 UTC
Read the original article
Hit count: 294
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?
© Stack Overflow or respective owner