[Tfug] Malloc under Linux

Felix Tilley fetilley at earthlink.net
Wed Feb 6 04:24:35 MST 2008


When you use the malloc function with Linux, is the memory space 
allocated when the program runs, or when the malloc function executes?

I ask this because the free function does not appear to free any memory.

Felix



uname -a
Linux linux 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 i686 
i386 GNU/Linux






More information about the tfug mailing list