gtk+ r19420 - in branches/gtk-2-12: . gtk



Author: pborelli
Date: Mon Jan 28 16:06:47 2008
New Revision: 19420
URL: http://svn.gnome.org/viewvc/gtk+?rev=19420&view=rev

Log:
2008-01-28  Paolo Borelli  <pborelli katamail com>

	* gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
	layout, fixes #512375.



Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/gtkprintunixdialog.c

Modified: branches/gtk-2-12/gtk/gtkprintunixdialog.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkprintunixdialog.c	(original)
+++ branches/gtk-2-12/gtk/gtkprintunixdialog.c	Mon Jan 28 16:06:47 2008
@@ -1995,7 +1995,8 @@
 	  cairo_restore (cr);
 	}
     }
-    
+
+  g_object_unref (layout);
   cairo_destroy (cr);
 
   return TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]