[comp.lang.c] what happens to allocated memory that is not free

btwomey@cbnewsj.ATT.COM (william.tw0mey) (03/30/90)

Hey gurus,

If I malloc()'ate several pieces of storage, say in a linked
list, what happens when the program exits, and the storage
has not been free()'ed?

If the storage remains stuck in the user space, what happens
when the user the users logs out?

I think the storage remains allocated till reboot. Would someone
please confirm my suspicions.

Bill Twomey
201-577-4627 attmail!btwomey, journey!btwomey