Do not properly deleted pointers fragment memory?

Posted by SoulBeaver on Stack Overflow See other posts from Stack Overflow or by SoulBeaver
Published on 2010-06-11T09:09:30Z Indexed on 2010/06/11 9:12 UTC
Read the original article Hit count: 229

Filed under:
|

That's basically the question. If I have a pointer int *a = &someIntVar and I do not delete it over the course of the program, does it stay in memory after the program has terminated? Is this a case of data fragmentation?

© Stack Overflow or respective owner

Related posts about c++

Related posts about memory-leaks