19 Jun
2006
19 Jun
'06
13:40
Hi, Jerry Feldman wrote:
You very definitely have a memory leak. You create your list using calloc(3), but you fail to free that list.
Shouldn't that be regarded as "reachable" instead of "definite lost"? I can still refer to the allocated instances, otherwise I'd not be able to print-out the list's content. $ ./a.out ilist: 100 500 -- Regards, Verdi -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer