forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
2bf99bb12e
commit
5c1a343c75
@ -1,3 +1,8 @@
|
||||
2008-01-28 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
|
||||
layout, fixes #512375.
|
||||
|
||||
2008-01-28 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtktextchild.c
|
||||
|
@ -2000,7 +2000,8 @@ draw_page_cb (GtkWidget *widget,
|
||||
cairo_restore (cr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
g_object_unref (layout);
|
||||
cairo_destroy (cr);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user