summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-09-22 04:55:19 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-09-22 04:55:19 +0000
commitac038c3e274fec58d8a294902290423f63fecb98 (patch)
treeca361c397bd199f8815a30b2cb0a6527cc0212f9 /demos
parent3f280a16993db91eecf3d123ea402f60189a1134 (diff)
downloadgtk+-ac038c3e274fec58d8a294902290423f63fecb98.tar.gz
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.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/pixbufs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/pixbufs.c b/demos/gtk-demo/pixbufs.c
index 1bfa2662ce..27963293b8 100644
--- a/demos/gtk-demo/pixbufs.c
+++ b/demos/gtk-demo/pixbufs.c
@@ -265,6 +265,7 @@ do_pixbufs (GtkWidget *do_widget)
{
gtk_widget_destroy (window);
window = NULL;
+ g_object_unref (frame);
}
return window;