memory allocation

Barry Margolin barmar at think.COM
Fri Sep 30 07:21:20 AEST 1988


In article <6913 at cdis-1.uucp> tanner at cdis-1.uucp (Dr. T. Andrews) writes:
>I don't mind the small expense at free() time, because in general
>that's not done nearly as often as malloc() in my applications.

Shouldn't you free everything you allocate?  Or do you just depend on
everything being freed when you exit?

Barry Margolin
Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.lang.c mailing list