If you are not forking off any child processes, all the memory is released when
the program exits.
Jeffery Browning wrote:
> We have a C program that allocates dynamic memory structures during
> execution. As new data sets are retrieved, the memory structures are
> deallocated and reallocated to accomodate the new data set. All this is
> being handled properly. My question is this: "When the user exists the
> program by way of a function that shuts it down, do I, as the
> programmer, need to deallocate memory for data structures that may be in
> use, or does the action of terminating the program release this memory
> for me?"
>
> Jeffery C. Browning
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.