changeset 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 3819a5a377b2
children e6637ff33957
files src/gtkhtml.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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;