# HG changeset patch # User Elliott Sales de Andrade # Date 1216011334 0 # Node ID 48024418982cc0c75bad2920db9ff0263c3480cb # Parent faaa1b36a9b2c92ee904914a019b0bcdbcb4b922 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. diff -r faaa1b36a9b2 -r 48024418982c libpurple/protocols/msn/switchboard.c --- 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); }