[gaim-migrate @ 9727]

Sun, 16 May 2004 17:46:27 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sun, 16 May 2004 17:46:27 +0000
changeset 8954
105094d38e3b
parent 8953
6705ad4595b0
child 8955
437a47340442

[gaim-migrate @ 9727]
" There are 3 GError's that are not being g_error_free()'d
This patch free's them. " --Stu Tomlinson

committer: Luke Schierer <lschiere@pidgin.im>

src/protocols/irc/parse.c file | annotate | diff | comparison | revisions
src/protocols/zephyr/zephyr.c file | annotate | diff | comparison | revisions
--- a/src/protocols/irc/parse.c	Sun May 16 17:44:37 2004 +0000
+++ b/src/protocols/irc/parse.c	Sun May 16 17:46:27 2004 +0000
@@ -147,6 +147,7 @@
 		gaim_debug(GAIM_DEBUG_ERROR, "irc", "send conversion error: %s\n", err->message);
 		gaim_debug(GAIM_DEBUG_ERROR, "irc", "Sending raw, which probably isn't right\n");
 		utf8 = g_strdup(string);
+		g_error_free(err);
 	}
 	
 	return utf8;
@@ -163,6 +164,7 @@
 	if (err) {
 		gaim_debug(GAIM_DEBUG_ERROR, "irc", "recv conversion error: %s\n", err->message);
 		utf8 = g_strdup(_("(There was an error converting this message.  Check the 'Encoding' option in the Account Editor)"));
+		g_error_free(err);
 	}
 	
 	return utf8;
--- a/src/protocols/zephyr/zephyr.c	Sun May 16 17:44:37 2004 +0000
+++ b/src/protocols/zephyr/zephyr.c	Sun May 16 17:46:27 2004 +0000
@@ -197,6 +197,7 @@
 		if (err) {
 			gaim_debug(GAIM_DEBUG_ERROR, "zephyr", "recv conversion error: %s\n", err->message);
 			utf8 = g_strdup(_("(There was an error converting this message.  Check the 'Encoding' option in the Account Editor)"));
+			g_error_free(err);
 		}
 
 		return utf8;

mercurial