# HG changeset patch # User Christian Hammond # Date 1046340305 0 # Node ID 56dde5f7d3a80e164eb5706ee8a66503a58095b2 # Parent 69f028a6f35765685446b1758533ea28bff942fe [gaim-migrate @ 4913] Fixed the "Closing a chat crashes gaim" bug, I think. There was a double-free going on with the chat topic and the user who set the topic. The first did checks to see if it was NULL, and if not, freed it. The second just freed it. The second should NOT have existed! Probably explains why I could only duplicate it in channels with no topic. Let me know if this still crashes for anybody. It stopped crashing here. committer: Tailor Script diff -r 69f028a6f357 -r 56dde5f7d3a8 src/conversation.c --- a/src/conversation.c Thu Feb 27 09:42:18 2003 +0000 +++ b/src/conversation.c Thu Feb 27 10:05:05 2003 +0000 @@ -1024,8 +1024,6 @@ if (conv->u.chat->topic != NULL) g_free(conv->u.chat->topic); - g_free(conv->u.chat->who); - g_free(conv->u.chat->topic); g_free(conv->u.chat); chats = g_list_remove(chats, conv);