summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.c
diff options
context:
space:
mode:
authorKristian Rietveld <kristian@planet.nl>2001-11-24 19:48:41 +0000
committerKristian Rietveld <kristian@src.gnome.org>2001-11-24 19:48:41 +0000
commit54d0b867ef0291528b49472ee397e80785df6f4f (patch)
treeb65ede76cd2576475773a688d9c9cc30557ccbbf /pango/pango-fontmap.c
parent2efe6aa596fd509d91fd5e549b8d3cc5632b0570 (diff)
downloadpango-54d0b867ef0291528b49472ee397e80785df6f4f.tar.gz
free the font description when we don't need it anymore
Sat Nov 24 13:44:21 2001 Kristian Rietveld <kristian@planet.nl> * pango/pango-fontmap.c (pango_font_map_real_load_fontset): free the font description when we don't need it anymore
Diffstat (limited to 'pango/pango-fontmap.c')
-rw-r--r--pango/pango-fontmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c
index fd193f5e..4cdc4ca3 100644
--- a/pango/pango-fontmap.c
+++ b/pango/pango-fontmap.c
@@ -236,6 +236,8 @@ pango_font_map_real_load_fontset (PangoFontMap *fontmap,
"Sans");
}
+ pango_font_description_free (tmp_desc);
+
/* Everything failed, we are screwed, there is no way to continue
*/
if (pango_fontset_simple_size (fonts) == 0)