From d14a6d126a217e36d750b8cb8f6c42d0e3b212c0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 29 Apr 2004 09:57:49 +0000 Subject: Don't leak family_name. (#140772, John Ehresman) 2004-04-29 Tor Lillqvist * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak family_name. (#140772, John Ehresman) --- ChangeLog | 3 +++ ChangeLog.pre-1-10 | 3 +++ ChangeLog.pre-1-4 | 3 +++ ChangeLog.pre-1-6 | 3 +++ ChangeLog.pre-1-8 | 3 +++ pango/pangowin32-fontmap.c | 1 + 6 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0e47ef4d..be171a92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ Use floating-point math in resolution calculation. (#141229, John Ehresman) + * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak + family_name. (#140772, John Ehresman) + 2004-04-20 Theppitak Karoonboonyanan * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 0e47ef4d..be171a92 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -4,6 +4,9 @@ Use floating-point math in resolution calculation. (#141229, John Ehresman) + * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak + family_name. (#140772, John Ehresman) + 2004-04-20 Theppitak Karoonboonyanan * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 0e47ef4d..be171a92 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -4,6 +4,9 @@ Use floating-point math in resolution calculation. (#141229, John Ehresman) + * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak + family_name. (#140772, John Ehresman) + 2004-04-20 Theppitak Karoonboonyanan * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 0e47ef4d..be171a92 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -4,6 +4,9 @@ Use floating-point math in resolution calculation. (#141229, John Ehresman) + * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak + family_name. (#140772, John Ehresman) + 2004-04-20 Theppitak Karoonboonyanan * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 0e47ef4d..be171a92 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -4,6 +4,9 @@ Use floating-point math in resolution calculation. (#141229, John Ehresman) + * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak + family_name. (#140772, John Ehresman) + 2004-04-20 Theppitak Karoonboonyanan * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): 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) -- cgit v1.2.1