| delorie.com/archives/browse.cgi | search |
| From: | "Mark E." <snowball3 AT bigfoot DOT com> |
| To: | djgpp-workers AT delorie DOT com |
| Date: | Thu, 15 Feb 2001 15:08:15 -0500 |
| MIME-Version: | 1.0 |
| Subject: | RE: O_TEMPORARY |
| Message-ID: | <3A8BF0DF.22481.11FDABE@localhost> |
| In-reply-to: | <CAEGKOHJKAAFPKOCLHDIGEJOCAAA.tim.van.holder@pandora.be> |
| References: | <3A8A98EE DOT 30071 DOT A8D978 AT localhost> |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Given that the dup() code makes two entries point to the same > structure, shouldn't you look for other entries pointing > to the structure you're about to free() and zero them to > avoid leaving them pointing into the Great Void(tm)? In that case, a decremented ref_count will still be > 1 and the structure won't be freed. Mark
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |