soc.2010.msn-tlc: 1a816c94: Destroy Part when the Message is destroy...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Thu Jun 24 02:16:30 EDT 2010


-----------------------------------------------------------------
Revision: 1a816c941b99de4c5132274265fd976f8427b84e
Ancestor: b9015542a27b73c8708408e48069d83aa603c68b
Author: masca at cpw.pidgin.im
Date: 2010-06-22T22:39:28
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/1a816c941b99de4c5132274265fd976f8427b84e

Modified files:
        libpurple/protocols/msn/msg.c

ChangeLog: 

Destroy Part when the Message is destroyed.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msg.c	607d0e4f518b5e5b487cc73bcc2c41d6dc8308d2
+++ libpurple/protocols/msn/msg.c	daf167418ab6b625b9aae2c1ad1efa3173800f3c
@@ -29,6 +29,7 @@
 #include "msg.h"
 #include "msnutils.h"
 #include "slpmsg.h"
+#include "slpmsg_part.h"
 
 MsnMessage *
 msn_message_new(MsnMsgType type)
@@ -71,6 +72,7 @@ msn_message_destroy(MsnMessage *msg)
 
 	g_hash_table_destroy(msg->header_table);
 	g_list_free(msg->header_list);
+	msn_slpmsgpart_destroy(msg->part);
 
 	g_free(msg);
 }


More information about the Commits mailing list