From ac038c3e274fec58d8a294902290423f63fecb98 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 22 Sep 2004 04:55:19 +0000 Subject: [PATCH] Don't leak the frame pixbuf. Wed Sep 22 00:52:44 2004 Matthias Clasen * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame pixbuf. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ demos/gtk-demo/pixbufs.c | 1 + 5 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index a2c9ae574c..eb94b6a397 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 22 00:54:34 2004 Matthias Clasen + + * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame + pixbuf. + Tue Sep 21 16:55:38 2004 Manish Singh * tests/testtreemodel.c: #include for HAVE_MALLINFO define, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a2c9ae574c..eb94b6a397 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Wed Sep 22 00:54:34 2004 Matthias Clasen + + * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame + pixbuf. + Tue Sep 21 16:55:38 2004 Manish Singh * tests/testtreemodel.c: #include for HAVE_MALLINFO define, diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a2c9ae574c..eb94b6a397 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Wed Sep 22 00:54:34 2004 Matthias Clasen + + * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame + pixbuf. + Tue Sep 21 16:55:38 2004 Manish Singh * tests/testtreemodel.c: #include for HAVE_MALLINFO define, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a2c9ae574c..eb94b6a397 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Wed Sep 22 00:54:34 2004 Matthias Clasen + + * demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame + pixbuf. + Tue Sep 21 16:55:38 2004 Manish Singh * tests/testtreemodel.c: #include for HAVE_MALLINFO define, 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;