diff src/gtkimhtml.c @ 8120:81a63a9bff88

[gaim-migrate @ 8824] tweaks just seem to accumulate in my tree committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 16 Jan 2004 01:03:54 +0000
parents 52089b055c12
children 0dc9fffb1e28
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Jan 15 23:35:43 2004 +0000
+++ b/src/gtkimhtml.c	Fri Jan 16 01:03:54 2004 +0000
@@ -1650,7 +1650,10 @@
 							"font-family: ");
 						size = gtk_imhtml_get_css_opt (style, "font-size: ");
 
-						if (!(color || family || size)) break;
+						if (!(color || family || size)) {
+							g_free(style);
+							break;
+						}
 
 						if (url)
 							gtk_imhtml_insert_link(imhtml, url, ws);