From: Peter Danielsson Newsgroups: comp.os.msdos.djgpp Subject: Crashes on free() Date: Thu, 28 Oct 1999 13:59:49 +0200 Organization: Student Lines: 9 Message-ID: <38183AB5.BDE66A18@efd.lth.se> NNTP-Posting-Host: dialin-45-88.student.lu.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Why in h-ll does my program crash? It crashes on free() and it is not even in my functions (I just malloc and does not free at all). Sometimes it is a traceback from open() and sometimes play_fli() (in allegro). In play_fli() it can crash on open() but also on free(temp_bitmap). Is there a way to remove the free() commands in open()? My program is really large if that has anything to do with the crashes. /Peter