freeing a 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:11 UTC
Read the original article Hit count: 158

Filed under:
|
|
|

Hi,

AFAIAK, freeing a NULL 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 scenario,where a memory corruption can occur is "freeing a memory twice"? Is this still true?

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++