link list -is this enough?
From: Yang Lee (yang__lee_at_ausi.com)
Date: 12/31/03
- Next message: Morris Dovey: "Re: link list -is this enough?"
- Previous message: Stefan Farfeleder: "Re: concatenate strings"
- Next in thread: Morris Dovey: "Re: link list -is this enough?"
- Reply: Morris Dovey: "Re: link list -is this enough?"
- Reply: Ravindranath Gummadidala: "Re: link list -is this enough?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 13:01:24 +0000 (UTC)
Hi,
I have a single link list. at the end of the program or in a
loop i want to destroy this link list.
so is it enough to free the pointer to this link list
or do i have to traverse whole link list until last node where next
field is null and free each node.
please suggest.
thanks
lee
-- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
- Next message: Morris Dovey: "Re: link list -is this enough?"
- Previous message: Stefan Farfeleder: "Re: concatenate strings"
- Next in thread: Morris Dovey: "Re: link list -is this enough?"
- Reply: Morris Dovey: "Re: link list -is this enough?"
- Reply: Ravindranath Gummadidala: "Re: link list -is this enough?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|