bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Small memory leak, CVS


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Small memory leak, CVS
Date: Mon, 31 Mar 2003 18:04:18 +0000
User-agent: Mutt/1.4i

On Sun, Mar 30, 2003 at 11:29:47PM +0200, Holger wrote
> Hi,
> 
> Maybe a small bug.
> In DrawAlphaImage() the allocated memory for *mask isn't freed again. I
> guess it should?
> gtkboard.c:2942:    guchar *mask = malloc( ( cy ) * ( cx + 7 ) >> 3 );

According to

http://developer.gnome.org/doc/API/2.0/gdk/gdk-Images.html#gdk-image-new-bitmap

the data should be freed again. 

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]