summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-11 02:40:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-11 02:40:12 +0000
commitf297582b2fb8dd16aab3cfa655961165df071b8d (patch)
tree565a36a1b478e577f4dd3eb8abc81b7c6a787a99 /pango/pangocairo-fontmap.c
parente40599ab33d7cfe16512cca6152e26c6230cee4f (diff)
downloadpango-f297582b2fb8dd16aab3cfa655961165df071b8d.tar.gz
Use g_free() to free g_new()-allocated data, otherwise the GLib memory
2005-09-11 Matthias Clasen <mclasen@redhat.com> * pango/pangocairo-fontmap.c (free_context_info): Use g_free() to free g_new()-allocated data, otherwise the GLib memory profiler becomes very unhappy.
Diffstat (limited to 'pango/pangocairo-fontmap.c')
-rw-r--r--pango/pangocairo-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index c71d1f13..9fd7d87a 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -213,7 +213,7 @@ free_context_info (PangoCairoContextInfo *info)
if (info->merged_options)
cairo_font_options_destroy (info->merged_options);
- free (info);
+ g_free (info);
}
static PangoCairoContextInfo *