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:
Matthias Clasen
2004-09-22 04:55:19 +00:00
committed by Matthias Clasen
parent 3f280a1699
commit ac038c3e27
5 changed files with 21 additions and 0 deletions

View File

@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
{
gtk_widget_destroy (window);
window = NULL;
g_object_unref (frame);
}
return window;