Re: GdkPixbuf, GdkPixmap and GdkBitmap
- From: James Henstridge <james daa com au>
- To: Havoc Pennington <hp redhat com>
- Cc: "Sergey V. Udaltsov" <svu pop convey ru>,gnome-devel-list gnome org
- Subject: Re: GdkPixbuf, GdkPixmap and GdkBitmap
- Date: Thu, 1 Jun 2000 08:49:45 +0800 (WST)
On 31 May 2000, Havoc Pennington wrote:
>
>
> "Sergey V. Udaltsov" <svu@pop.convey.ru> writes:
[snip]
>
> 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
>
James.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]