|
From: Greg C. <chi...@co...> - 2005-05-16 19:32:26
|
On 2005-05-16 15:04 PM, Liam Whalen wrote: > > Is malloced memory, created in a function call, released after the > function has executed; in the same was as the function's local variables > are released once the function is executed? No, memory allocated with malloc() remains allocated until you free() it. It's not implicitly deallocated when you return from the function that called malloc(). |