diff libpurple/protocols/msn/notification.c @ 28713:33856dfb5cbf

Donot use a servconn if it's freed. Mark a leak.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 08 Oct 2009 18:14:41 +0000
parents caef0d8dcb04
children 6a23d7f84143
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Thu Oct 08 18:12:06 2009 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu Oct 08 18:14:41 2009 +0000
@@ -582,7 +582,7 @@
 
 	trans = msn_transaction_new(cmdproc, "FQY", "%d", payload_len);
 	msn_transaction_set_payload(trans, payload, payload_len);
-	msn_transaction_set_data(trans, data);
+	msn_transaction_set_data(trans, data);	/* XXX: 'data' leaks */
 	msn_cmdproc_send_trans(cmdproc, trans);
 }