summaryrefslogtreecommitdiff
path: root/modules/basic
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2008-02-21 22:51:28 +0000
committerKristian Rietveld <kristian@src.gnome.org>2008-02-21 22:51:28 +0000
commit59379e068cf364dfb1ab4dc4ff1348495ce15df1 (patch)
tree4771d8830c967029e031556e38ee2d0a3100d071 /modules/basic
parentea6d8462a10b165a7bf2a1d10af297f3f5efc13a (diff)
downloadpango-59379e068cf364dfb1ab4dc4ff1348495ce15df1.tar.gz
free the ATSU style and utf16 string at the end.
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. svn path=/trunk/; revision=2571
Diffstat (limited to 'modules/basic')
-rw-r--r--modules/basic/basic-atsui.c3
1 files changed, 3 insertions, 0 deletions
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