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: Holger
Subject: Re: [Bug-gnubg] Small memory leak, CVS
Date: Mon, 31 Mar 2003 20:15:04 +0200

At 18:04 31.03.2003 +0000, Joern Thyssen wrote:
On Sun, Mar 30, 2003 at 11:29:47PM +0200, Holger wrote
> 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.

Ah, sorry, didn't see this. A bit strange, though.

Regards,

Holger




reply via email to

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