cvs.gedasymbols.org/archives/browse.cgi | search |
From: | "Damian Yerrick" <NOSP AT Msnews@pineight.8m.com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 991209160149 DOT 22560D-100000 AT is> <82rh3j$sfu AT cantine DOT wu-wien DOT ac DOT at> <385EC088 DOT 8403BF22 AT ibm DOT net> <7GM74.500$PK3 DOT 5161 AT dfiatx1-snr1 DOT gtei DOT net> <385FE52F DOT E2F5572B AT east DOT sun DOT com> |
Subject: | Re: Problems with MALLOC and FREE |
Lines: | 15 |
Organization: | Pin Eight Software <http://pineight.8m.com/> |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
Message-ID: | <RIX74.3450$PK3.29375@dfiatx1-snr1.gtei.net> |
X-Trace: | /w/U2+VqYNPhUn8z+UB/MWKb6FR+QE3VtL40HFrL+tId44wB1jHuF3nNyuj43skhSLQy1SSzB6j6!hskL+z4opD74OVaEwHlLJS4bNorXXSoyAbJ97UzOafU0gYsEtz3kR6WXeNTV+ecOH/SnmA== |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Wed, 22 Dec 1999 03:38:25 GMT |
Distribution: | world |
Date: | Wed, 22 Dec 1999 03:38:25 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Eric Sosman" <eric DOT sosman AT east DOT sun DOT com> wrote in message news:385FE52F DOT E2F5572B AT east DOT sun DOT com... > Damian Yerrick wrote: > > [...] > > Oh, by the way, does anyone know what the standard > > says should happen when you free(NULL)? > > "If _ptr_ is a null pointer, no action occurs." Simplifies things a bit. #define Free(ptr) free(ptr); ptr = NULL
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |