diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-03-12 16:37:51 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-03-12 16:37:51 +0000 |
commit | d0d95f8bc96f326c04292d1173a9c669064df828 (patch) | |
tree | a44d5d6d67b80a1446cb0db7b072bcb69f536cd1 | |
parent | 168a59079d0b760919fecf61a88e6b0b4fcb3bad (diff) | |
download | gdk-pixbuf-d0d95f8bc96f326c04292d1173a9c669064df828.tar.gz |
Don't leak paper_size here. (#488820, Morten Welinder)
2008-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
paper_size here. (#488820, Morten Welinder)
svn path=/trunk/; revision=19781
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gtk/gtkpagesetup.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-03-12 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak + paper_size here. (#488820, Morten Welinder) + 2008-03-12 Michael Natterer <mitch@imendio.com> * acconfig.h: remove this deprecated file. diff --git a/gtk/gtkpagesetup.c b/gtk/gtkpagesetup.c index ab6a224dd..bc3fee337 100644 --- a/gtk/gtkpagesetup.c +++ b/gtk/gtkpagesetup.c @@ -113,6 +113,7 @@ gtk_page_setup_copy (GtkPageSetup *other) copy = gtk_page_setup_new (); copy->orientation = other->orientation; + gtk_paper_size_free (copy->paper_size); copy->paper_size = gtk_paper_size_copy (other->paper_size); copy->top_margin = other->top_margin; copy->bottom_margin = other->bottom_margin; |