--- a/src/protocols/msn/switchboard.c Tue Apr 25 17:27:17 2006 +0000 +++ b/src/protocols/msn/switchboard.c Tue Apr 25 17:38:43 2006 +0000 @@ -104,14 +104,9 @@ while ((l = swboard->ack_list) != NULL) msg_error_helper(swboard->cmdproc, l->data, MSN_MSG_ERROR_SB); - if (swboard->im_user != NULL) - g_free(swboard->im_user); - - if (swboard->auth_key != NULL) - g_free(swboard->auth_key); - - if (swboard->session_id != NULL) - g_free(swboard->session_id); + g_free(swboard->im_user); + g_free(swboard->auth_key); + g_free(swboard->session_id); for (l = swboard->users; l != NULL; l = l->next) g_free(l->data);