diff libpurple/protocols/msn/notification.c @ 20504:d23c3a5884ee

Make the buddylist sync issue a little less worse.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 14 Sep 2007 04:32:30 +0000
parents 7f5564ebde7f
children 723b5a2f91ce
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Sun Sep 09 00:45:05 2007 +0000
+++ b/libpurple/protocols/msn/notification.c	Fri Sep 14 04:32:30 2007 +0000
@@ -1987,6 +1987,7 @@
 	
 	msn_notification_post_adl(notification->servconn->cmdproc,
 						payload,payload_len);
+	g_free(payload);
 }
 
 void
@@ -2014,6 +2015,7 @@
 	trans = msn_transaction_new(cmdproc, "RML","%d", strlen(payload));
 	msn_transaction_set_payload(trans, payload, strlen(payload));
 	msn_cmdproc_send_trans(cmdproc, trans);
+	g_free(payload);
 }
 
 /**************************************************************************