changeset 9245:9b138ebf9ca8

[gaim-migrate @ 10044] Timmy Yee noticed this bug and sent a patch. I wonder if there's any bugs in the tracker this closes. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 09 Jun 2004 04:34:25 +0000
parents e67b8cd33c6c
children e20af87d8721
files COPYRIGHT src/gtkimhtml.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Wed Jun 09 03:40:33 2004 +0000
+++ b/COPYRIGHT	Wed Jun 09 04:34:25 2004 +0000
@@ -155,6 +155,7 @@
 Matt Wilson
 Ximian
 Jared Yanovich
+Timmy Yee
 Nickolai Zeldovich
 Marco Ziech
 Jaroen Zwartepoorte
--- a/src/gtkimhtml.c	Wed Jun 09 03:40:33 2004 +0000
+++ b/src/gtkimhtml.c	Wed Jun 09 04:34:25 2004 +0000
@@ -2054,11 +2054,12 @@
 						}
 						if (font->sml)
 							g_free (font->sml);
-						g_free (font);
 
 						if ((font->size != 3) && (imhtml->format_functions & (GTK_IMHTML_GROW|GTK_IMHTML_SHRINK)))
 							gtk_imhtml_font_set_size(imhtml, 3);
 
+						g_free(font);
+
 						fonts = fonts->next;
 						if (fonts) {
 							GtkIMHtmlFontDetail *font = fonts->data;