forked from AuroraMiddleware/gtk
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:
parent
3f280a1699
commit
ac038c3e27
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
|
||||
{
|
||||
gtk_widget_destroy (window);
|
||||
window = NULL;
|
||||
g_object_unref (frame);
|
||||
}
|
||||
|
||||
return window;
|
||||
|
Loading…
Reference in New Issue
Block a user