delorie.com/archives/browse.cgi | search |
Date: | Sun, 18 Jun 2000 08:44:34 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Martell <crazy AT ne DOT infi DOT net> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: free crashes |
In-Reply-To: | <394BC51F.B6B956C1@ne.infi.net> |
Message-ID: | <Pine.SUN.3.91.1000618084237.14456Q-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 17 Jun 2000, Martell wrote: > my program works fine, except when the line at the very end of my code > comes along: > > free(bmp.data); > > then it crashes. what in the world could cause this?! Most probably, your bugs: your code overwrites the end of allocated buffer(s), somewhere. For the details, see section 9.2 of the DJGPP FAQ list (available as v2/faq230b.zip from the same place you get DJGPP).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |