diff src/gtkhtml.c @ 1079:a4635c7c2128

[gaim-migrate @ 1089] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 10 Nov 2000 04:11:34 +0000
parents d50d3abb9eb7
children 5bc8fdacd2cb
line wrap: on
line diff
--- a/src/gtkhtml.c	Thu Nov 09 10:54:24 2000 +0000
+++ b/src/gtkhtml.c	Fri Nov 10 04:11:34 2000 +0000
@@ -3193,7 +3193,7 @@
 	GdkFont *cfont;
 	GdkRectangle area;
 	char *ws,
-	  tag[BUF_LONG],
+	  *tag,
 	 *c,
 	 *url = NULL;
 	gint intag = 0,
@@ -3237,6 +3237,7 @@
 	c = text;
 
 	ws = g_malloc(strlen(text) + 2);
+	tag = g_malloc(strlen(text) + 2);
 
 	while (*c)
 	{
@@ -3681,6 +3682,7 @@
 
 
 	g_free(ws);
+	g_free(tag);
 
 	gdk_window_get_size(html->html_area, NULL, &height);
 	area.height = height;