www.delorie.com/archives/browse.cgi | search |
From: | Luke Lee <comforth AT ms2 DOT hinet DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: free() ? |
Date: | Fri, 21 Feb 1997 03:37:51 +0800 |
Organization: | Computing Center, Academia Sinica |
Lines: | 10 |
Message-ID: | <330CA80F.7862@ms2.hinet.net> |
References: | <330CBD87 DOT 5B1F AT post DOT comstar DOT ru> |
Reply-To: | comforth AT ms2 DOT hinet DOT net |
NNTP-Posting-Host: | @140.109.249.26 |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Dim Zegebart wrote: > > What will happens in line free(&x) ? Is it correct ? > (I know, it's not correct. But what will happens ?) Maybe, you will corrupt the memory blocks around 'x', try to use an array, free one cell and check the surrounding cells. I havn't try this. - Luke -
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |