From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: passing arg 1 of 'free' .... Date: Fri, 19 Jun 1998 08:03:15 -0700 Organization: Alcyone Systems Lines: 17 Message-ID: <358A7DB3.DA20318@alcyone.com> References: <358A5A9F DOT E57B1F07 AT pac DOT nl> NNTP-Posting-Host: charmaine.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Elliott Oti wrote: > const char *myptr; // means I am not going to alter myptr => myptr = > // const > > free(myptr); // means please release the memory pointed to by myptr > // and make myptr = NULL; It doesn't nullify the pointer, but yes, this is his problem. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm:+37.20.07/-121.53.38 \ She glanced at her watch / . . . It was 9:23. / James Clavell