delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/02/10:41:50

Sender: root AT delorie DOT com
Message-ID: <3E6225AD.1341CC2B@ec-red.com>
Date: Sun, 02 Mar 2003 10:39:25 -0500
From: Sergio Aguayo <sergioag AT ec-red DOT com>
Organization: The GIMI-team
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.4.20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Problem with malloc/free
Reply-To: djgpp AT delorie DOT com

The problem is the following: i'm using DJGPP (the version available
right now), i'm using malloc with an array of pointers (20 char *) for
loading a file (a total of 20 files at once). The problem comes when i
call free to release that memory, there occures a SIGSEGV signal. I'm
also using allegro.

THanks,

Sergio

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019