diff options
author | Paolo Borelli <pborelli@katamail.com> | 2008-01-28 16:06:16 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2008-01-28 16:06:16 +0000 |
commit | 5c1a343c7588fdfb59aca3acccbbd430788c0126 (patch) | |
tree | 8b250982a4a54350a5b9f4ff900194a051d08d47 /gtk/gtkprintunixdialog.c | |
parent | 2bf99bb12e1d4bc9e35c2ef52f55af7b89751c3f (diff) | |
download | gtk+-5c1a343c7588fdfb59aca3acccbbd430788c0126.tar.gz |
do not leak the pango layout, fixes #512375.
2008-01-28 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
layout, fixes #512375.
svn path=/trunk/; revision=19419
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r-- | gtk/gtkprintunixdialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 695bfb8be0..9ee4c5cd18 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -2000,7 +2000,8 @@ draw_page_cb (GtkWidget *widget, cairo_restore (cr); } } - + + g_object_unref (layout); cairo_destroy (cr); return TRUE; |