From 2c43ed9fd9815446e4d3246fef5459cb554417c4 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 16 Apr 2003 01:24:18 +0000 Subject: Free the right string. Tue Apr 15 09:19:21 2003 Owen Taylor * pango/fonts.c (pango_font_description_set_family): Free the right string. --- ChangeLog | 5 +++++ ChangeLog.pre-1-10 | 5 +++++ ChangeLog.pre-1-4 | 5 +++++ ChangeLog.pre-1-6 | 5 +++++ ChangeLog.pre-1-8 | 5 +++++ pango/fonts.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 809b0c99..2f4eda6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 15 09:19:21 2003 Owen Taylor + + * pango/fonts.c (pango_font_description_set_family): + Free the right string. + Tue Apr 15 06:57:02 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix mispelled constant diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 809b0c99..2f4eda6d 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Tue Apr 15 09:19:21 2003 Owen Taylor + + * pango/fonts.c (pango_font_description_set_family): + Free the right string. + Tue Apr 15 06:57:02 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix mispelled constant diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 809b0c99..2f4eda6d 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +Tue Apr 15 09:19:21 2003 Owen Taylor + + * pango/fonts.c (pango_font_description_set_family): + Free the right string. + Tue Apr 15 06:57:02 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix mispelled constant diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 809b0c99..2f4eda6d 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +Tue Apr 15 09:19:21 2003 Owen Taylor + + * pango/fonts.c (pango_font_description_set_family): + Free the right string. + Tue Apr 15 06:57:02 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix mispelled constant diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 809b0c99..2f4eda6d 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +Tue Apr 15 09:19:21 2003 Owen Taylor + + * pango/fonts.c (pango_font_description_set_family): + Free the right string. + Tue Apr 15 06:57:02 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix mispelled constant diff --git a/pango/fonts.c b/pango/fonts.c index 84b659b8..eb18f65e 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -115,7 +115,7 @@ pango_font_description_set_family (PangoFontDescription *desc, } if (old_family) - g_free (desc->family_name); + g_free (old_family); } /** -- cgit v1.2.1