From 59379e068cf364dfb1ab4dc4ff1348495ce15df1 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Thu, 21 Feb 2008 22:51:28 +0000 Subject: free the ATSU style and utf16 string at the end. 2008-02-21 Kristian Rietveld * modules/basic/basic-atsui.c (basic_engine_shape): free the ATSU style and utf16 string at the end. svn path=/trunk/; revision=2571 --- modules/basic/basic-atsui.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/basic/basic-atsui.c b/modules/basic/basic-atsui.c index b175be3e..fac25397 100644 --- a/modules/basic/basic-atsui.c +++ b/modules/basic/basic-atsui.c @@ -163,7 +163,10 @@ basic_engine_shape (PangoEngineShape *engine, ATSUDirectReleaseLayoutDataArrayPtr (NULL, kATSUDirectDataLayoutRecordATSLayoutRecordCurrent, (void *)&layout_records); + ATSUDisposeStyle(style); ATSUDisposeTextLayout (text_layout); + + g_free (utf16); } static void -- cgit v1.2.1