| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Memory matters |
-=> Jasen Betts wrote to Bo Simonsen <=-
BS> curStruct = firstStruct;
BS>
BS> do
BS> {
BS> tmpStruct = curStruct->next;
BS> free(curStruct);
BS> curStruct = tmpStruct;
BS> } while(curStruct);
JB> don't try that with a NULL list... (put the while at the top inplace
JB> of the do)
Indeed, this was a quick and dirty example.
Regards,
Bo
... Computer Hacker wanted. Must have own axe.
--- MultiMail/Linux v0.45
* Origin: The Night Express (2:236/100)SEEN-BY: 633/267 270 @PATH: 236/100 237/9 20/11 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.