[Gtk-sharp-list] Gtk.Image.Pixbuf memory leak

Mike Kestner mkestner at gmail.com
Mon Aug 4 13:07:46 EDT 2008

On Mon, 2008-08-04 at 11:08 -0400, Jason Smith wrote:
> The following code, which I use purely for demostration, produces a
> memory leak of the entire pixbuf that I load into a Gtk.Image.
> protected virtual void OnButton1Clicked (object sender, System.EventArgs
> e)
> {
> 	Gdk.Pixbuf pixbuf = IconTheme.Default.LoadIcon

LoadIcon wasn't marked as an owned return value.  Fixed on trunk
revision 109594.


More information about the Gtk-sharp-list mailing list