summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--modules/basic/basic-atsui.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a9f242a..85217633 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2008-02-17 Behdad Esfahbod <behdad@gnome.org>
Bug 517083 – pango modules: wrong fallback adding code?
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