changeset 6062:2cd7c409d71d

[gaim-migrate @ 6512] Ok, everything looks good to me. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 08 Jul 2003 04:23:24 +0000
parents c28dea25983c
children 5239a3b4ab33
files src/gtkconv.c src/protocols/irc/irc.c src/server.c
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Jul 08 04:12:12 2003 +0000
+++ b/src/gtkconv.c	Tue Jul 08 04:23:24 2003 +0000
@@ -4615,6 +4615,7 @@
 		g_free(with_font_tag);
 		g_free(new_message);
 	}
+
 	if(sml_attrib)
 		g_free(sml_attrib);
 }
--- a/src/protocols/irc/irc.c	Tue Jul 08 04:12:12 2003 +0000
+++ b/src/protocols/irc/irc.c	Tue Jul 08 04:23:24 2003 +0000
@@ -156,6 +156,7 @@
 	int inleft = strlen(string), outleft = maxlen;
 	GIConv conv;
 	
+	/* XXX - I think the below line is leaking */
 	conv = g_iconv_open(gaim_account_get_string(gaim_connection_get_account(gc), "charset", "UTF-8") , "UTF-8");
 	if (g_iconv(conv, &inptr, &inleft, &outptr, &outleft) == -1) {
 		gaim_debug(GAIM_DEBUG_ERROR, "irc", "Charset conversion error\n");
--- a/src/server.c	Tue Jul 08 04:12:12 2003 +0000
+++ b/src/server.c	Tue Jul 08 04:23:24 2003 +0000
@@ -1413,6 +1413,7 @@
 	gaim_chat_write(chat, who, buf, w, mtime);
 
 	g_free(buf);
+	g_free(buffy);
 }
 
 static void des_popup(GtkWidget *w, GtkWidget *window)