diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-04-29 09:57:49 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-04-29 09:57:49 +0000 |
commit | d14a6d126a217e36d750b8cb8f6c42d0e3b212c0 (patch) | |
tree | 4982798be8b00ccde7e47f5dc28454c5926e0957 /pango/pangowin32-fontmap.c | |
parent | 6dff8623b03913db358fc3419068ae5882e225de (diff) | |
download | pango-d14a6d126a217e36d750b8cb8f6c42d0e3b212c0.tar.gz |
Don't leak family_name. (#140772, John Ehresman)
2004-04-29 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak
family_name. (#140772, John Ehresman)
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r-- | pango/pangowin32-fontmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index 42eecafc..ba93d30c 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -752,6 +752,7 @@ pango_win32_insert_font (PangoWin32FontMap *win32fontmap, stretch = PANGO_STRETCH_NORMAL; font_family = pango_win32_get_font_family (win32fontmap, family_name); + g_free (family_name); tmp_list = font_family->font_entries; while (tmp_list) |