Don't leak the frame pixbuf.
Wed Sep 22 00:52:44 2004 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame pixbuf.
This commit is contained in:

committed by
Matthias Clasen

parent
3f280a1699
commit
ac038c3e27
@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
|
||||
{
|
||||
gtk_widget_destroy (window);
|
||||
window = NULL;
|
||||
g_object_unref (frame);
|
||||
}
|
||||
|
||||
return window;
|
||||
|
Reference in New Issue
Block a user