Free Memory

G

Guest

I am looking for some documentation or info on when memory allocated by
malloc or new and not expressly freed by the program is freed back to the
system in terms of an application, it's dll modules, and their functions.
 
C

Carl Daniel [VC++ MVP]

Tom said:
I am looking for some documentation or info on when memory allocated
by malloc or new and not expressly freed by the program is freed back
to the system in terms of an application, it's dll modules, and their
functions.

When the program terminates the memory will be reclaimed. Destructors will
not run.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top