changeset 473:f9bb7761c52b

[gaim-migrate @ 483] pluggin' tha leeks committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Jul 2000 23:37:53 +0000
parents 6a92cd7322cc
children 7720d0f9da8e
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Jul 09 23:19:21 2000 +0000
+++ b/src/conversation.c	Sun Jul 09 23:37:53 2000 +0000
@@ -872,7 +872,6 @@
 {
 	char *buf = g_malloc(BUF_LONG);
         char *buf2 = g_malloc(BUF_LONG);
-	char *buf3;
 	char *str;
         FILE *fd;
         char colour[10];
@@ -913,8 +912,6 @@
                 
         } else {
 
-		buf3 = g_malloc(BUF_LONG);
-		
 		if (flags & WFLAG_WHISPER) {
 			/* if we're whispering, it's not an autoresponse */
 			if (meify(what)) {
@@ -952,6 +949,8 @@
 		else
 			g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><B>%s</B></FONT>", colour, str);
 
+		g_free(str);
+
                 gtk_html_freeze(GTK_HTML(c->text));
 
 		y = 0;