Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: "Charles Nicholson" Newsgroups: scee.yaroze.beginners Subject: Re: A 'c' question... Date: Thu, 25 Feb 1999 03:01:28 -0500 Organization: SCEA News Server Lines: 30 Message-ID: <7b302d$8jb11@scea> References: <7b27fm$9po14@chuka.playstation.co.uk> NNTP-Posting-Host: chnicholson.vassar.edu X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 It sounds like you have to free each node in the list. Basically, a good rule of thumb to follow is that if you got it with malloc(), you give it back with free(). Keep those in a 1:1 check, and you'll be cool. oh yeah- and don't forget to put out an ntsc version for us scea ppl. :) -charles Johan MacLeod wrote in message <7b27fm$9po14@chuka.playstation.co.uk>... > I have been working hard to get my first game out there and am nearly >there! I do have a problem, though. I am using a linked list in the game and >am not sure how to free the space back to the system. I think I need the >'free' function. Do I need to 'free' each pointer in the linked list, >individually, or can I just 'free' the head of the list (or would that just >leave a chunk of used up memory with no access to it)? > > Cheers, > > Mac. >j-mac@lineone.net > > > > >