summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 11e1ecbc..cf6d3b42 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -19,8 +19,10 @@
* Boston, MA 02111-1307, USA.
*/
-#include <pango/pango-context.h>
+#include <string.h>
+
#include <fribidi/fribidi.h>
+#include <pango/pango-context.h>
#include "iconv.h"
#include "pango-modules.h"
@@ -125,6 +127,8 @@ pango_context_finalize (GObject *object)
g_slist_foreach (context->font_maps, (GFunc)g_object_unref, NULL);
g_slist_free (context->font_maps);
+
+ pango_font_description_free (context->font_desc);
G_OBJECT_CLASS (parent_class)->finalize (object);
}