# HG changeset patch # User Christian Hammond # Date 1054717042 0 # Node ID 6b87c127fe7b5a9cb627c70ba94a0c153fbdddc9 # Parent af159a5bbaa08c4285e8180f7f70db889d916e36 [gaim-migrate @ 6168] Fixed the crash on disconnect in MSN, I think. committer: Tailor Script diff -r af159a5bbaa0 -r 6b87c127fe7b src/protocols/msn/servconn.c --- a/src/protocols/msn/servconn.c Wed Jun 04 08:46:05 2003 +0000 +++ b/src/protocols/msn/servconn.c Wed Jun 04 08:57:22 2003 +0000 @@ -128,6 +128,7 @@ g_free(servconn->msg_friendly); msn_message_destroy(msg); + entry->msg = NULL; } } @@ -213,11 +214,11 @@ g_return_if_fail(servconn != NULL); g_return_if_fail(servconn->connected); - close(servconn->fd); - if (servconn->inpa) gaim_input_remove(servconn->inpa); + close(servconn->fd); + g_free(servconn->rxqueue); while (servconn->txqueue != NULL) {