Re: GdkPixbuf, GdkPixmap and GdkBitmap

On 31 May 2000, Havoc Pennington wrote:

> "Sergey V. Udaltsov" <> writes:
> I believe you do need to gdk_pixmap_unref() the result of 
> gdk_pixbuf_render_pixmap_and_mask(). Dia may have a memory leak there.

yes it is necessary to unref the pixmap and mask afterwards to free
it.  Thanks for picking that one up.  Of course, the place where the leak
occurs is in the about dialog, so it is not that serious :)

> Havoc



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