changeset 9149:108a0300135d

[gaim-migrate @ 9933] stupid bug /slap marv committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 31 May 2004 01:39:09 +0000
parents 39155e87c470
children 05532ad61ed5
files src/cmds.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.c	Mon May 31 00:07:05 2004 +0000
+++ b/src/cmds.c	Mon May 31 01:39:09 2004 +0000
@@ -168,7 +168,7 @@
 	gchar *cmd, *rest;
 	GaimCmdRet ret = GAIM_CMD_RET_CONTINUE;
 
-	error = NULL;
+	*error = NULL;
 	prpl_id = gaim_account_get_protocol_id(gaim_conversation_get_account(conv));
 
 	if (gaim_conversation_get_type(conv) == GAIM_CONV_IM)
@@ -222,6 +222,7 @@
 		if (ret == GAIM_CMD_RET_CONTINUE) {
 			if (err)
 				g_free(err);
+			err = NULL;
 			gaim_cmd_free_args(args);
 			args = NULL;
 			continue;