changeset 23591:48024418982c

On MSN, when an error occurs when opening a switchboard and calling the user, don't unref the unsent messages, because msg_error_helper does it for us. Masca says this stopped the CAL 3 error crash. Fixes #5377.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Jul 2008 04:55:34 +0000
parents faaa1b36a9b2
children 3249c367577b
files libpurple/protocols/msn/switchboard.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Mon Jul 14 04:08:30 2008 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Mon Jul 14 04:55:34 2008 +0000
@@ -1144,7 +1144,6 @@
 		swboard->error = MSN_SB_ERROR_USER_OFFLINE;
 		msg_error_helper(swboard->cmdproc, msg,
 							 MSN_MSG_ERROR_SB);
-		msn_message_unref(msg);
 	}
 	cal_error_helper(trans, reason);
 }