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

@ -1,3 +1,8 @@
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
Tue Sep 21 16:55:38 2004 Manish Singh <yosh@gimp.org>
* tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,

View File

@ -1,3 +1,8 @@
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
Tue Sep 21 16:55:38 2004 Manish Singh <yosh@gimp.org>
* tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,

View File

@ -1,3 +1,8 @@
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
Tue Sep 21 16:55:38 2004 Manish Singh <yosh@gimp.org>
* tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,

View File

@ -1,3 +1,8 @@
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.
Tue Sep 21 16:55:38 2004 Manish Singh <yosh@gimp.org>
* tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,

View File

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