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:
committed by
Paolo Borelli
parent
2bf99bb12e
commit
5c1a343c75
@ -2000,7 +2000,8 @@ draw_page_cb (GtkWidget *widget,
|
||||
cairo_restore (cr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
g_object_unref (layout);
|
||||
cairo_destroy (cr);
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user