C (183/257)

From:
Date:18 Feb 2001 at 03:36:03
Subject:Re: Alloc/Free___ Chip memory fragmentation

Hi William
William Robinson wrote this on 08-Feb-01 at 16:12:45

> Problematic Task:
> implementing a double buffered intuition screen
>
> Problem:
> When the program executes, I get lots of errors at the end
> saying: "memory block at address: SOMEHEXNUMBER of size 0 not freed".
> and then another usually saying: "two other memory blocks of size <a
>> bytes not freed". So, I use the flush resources

Before freeing the window you must restore the original buffer or it will free
the one that is attached.



any persons, living or dead, are entirely coincidental.
Tim Hanson,
by the River,Canterbury, Kent.
Amiga A1200T,`040/25,603e/160,32MB Fast,BVisionPPC,
8.4GB IDE HD,ZIP SCSI,RENO x2CD SCSI,Pace 56K

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/982635959/
---------------------------------------------------------------------_->