pango r2571 - in trunk: . modules/basic



Author: kristian
Date: Thu Feb 21 22:51:28 2008
New Revision: 2571
URL: http://svn.gnome.org/viewvc/pango?rev=2571&view=rev

Log:
2008-02-21  Kristian Rietveld  <kris imendio com>

	* modules/basic/basic-atsui.c (basic_engine_shape): free the
	ATSU style and utf16 string at the end.



Modified:
   trunk/ChangeLog
   trunk/modules/basic/basic-atsui.c

Modified: trunk/modules/basic/basic-atsui.c
==============================================================================
--- trunk/modules/basic/basic-atsui.c	(original)
+++ trunk/modules/basic/basic-atsui.c	Thu Feb 21 22:51:28 2008
@@ -163,7 +163,10 @@
   ATSUDirectReleaseLayoutDataArrayPtr (NULL, kATSUDirectDataLayoutRecordATSLayoutRecordCurrent,
 				       (void *)&layout_records);
 
+  ATSUDisposeStyle(style);
   ATSUDisposeTextLayout (text_layout);
+
+  g_free (utf16);
 }
 
 static void



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