From: James W Sager Iii Newsgroups: comp.os.msdos.djgpp Subject: c++ allegro question Date: Sun, 18 Mar 2001 20:32:33 -0500 Organization: Carnegie Mellon, Pittsburgh, PA Lines: 16 Message-ID: <4uhK6l_00UjBR6oEVW@andrew.cmu.edu> NNTP-Posting-Host: po6.andrew.cmu.edu X-Trace: bb3.andrew.cmu.edu 984965636 4873 128.2.10.106 (19 Mar 2001 01:33:56 GMT) X-Complaints-To: advisor AT andrew DOT cmu DOT edu NNTP-Posting-Date: 19 Mar 2001 01:33:56 GMT X-Added: With Flames (outnews v2.6) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I was wondering why do I get a segfault when I try and destroy a bitmap of size (0,0). Example code: BITMAP * temp; temp= create_bitmap (0, 0); destroy_bitmap (b); Its very important I know why this is. I have a GUI that needs to call a destructor and destroy bitmaps. I could fudge it, and not destroy bitmaps of size (0,0), but I believe two integers remembering the size would be floating around clogging memory. Any help?