changeset 23562:3b3d7039bc8e

Daniel Atallah pointed out that this was obviously wrong. So we would have leaked a struct containing info about a chat if the connection to the chatroom failed for any reason, or if you signed offline while the connection was pending. All better!
author Mark Doliner <mark@kingant.net>
date Thu, 17 Jul 2008 16:08:09 +0000
parents bdb38a8bf721
children de24d89313b0
files libpurple/protocols/oscar/flap_connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c	Thu Jul 17 15:12:42 2008 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c	Thu Jul 17 16:08:09 2008 +0000
@@ -299,7 +299,7 @@
 		conn->connect_data = NULL;
 	}
 
-	if (conn->connect_data != NULL)
+	if (conn->new_conn_data != NULL)
 	{
 		if (conn->type == SNAC_FAMILY_CHAT)
 		{