# HG changeset patch # User Rob Flynn # Date 1034144935 0 # Node ID a19850d6e7180fbe438abf70e5213687e0f21816 # Parent 6b12659dfd701d3c5cce552b791358c275c496d7 [gaim-migrate @ 3733] Oh ho ho!!! committer: Tailor Script diff -r 6b12659dfd70 -r a19850d6e718 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Wed Oct 09 06:25:46 2002 +0000 +++ b/src/protocols/irc/irc.c Wed Oct 09 06:28:55 2002 +0000 @@ -1438,6 +1438,9 @@ if (idata->rxqueue) g_free(idata->rxqueue); + idata->rxqueue = NULL; + idata->rxlen = 0; + /* Kill any existing transfers */ while (idata->file_transfers) { struct irc_file_transfer *ift = (struct irc_file_transfer *)idata->file_transfers->data; @@ -1450,9 +1453,8 @@ idata->file_transfers = idata->file_transfers->next; } + idata->file_transfers = NULL; - idata->rxqueue = NULL; - idata->rxlen = 0; g_free(idata->chantypes); g_free(idata->chanmodes);