From f297582b2fb8dd16aab3cfa655961165df071b8d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 11 Sep 2005 02:40:12 +0000 Subject: Use g_free() to free g_new()-allocated data, otherwise the GLib memory 2005-09-11 Matthias Clasen * pango/pangocairo-fontmap.c (free_context_info): Use g_free() to free g_new()-allocated data, otherwise the GLib memory profiler becomes very unhappy. --- pango/pangocairo-fontmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pango/pangocairo-fontmap.c') 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 * -- cgit v1.2.1