changeset 30821:721653babbbe

Destroy Part when the Message is destroyed.
author masca@cpw.pidgin.im
date Tue, 22 Jun 2010 22:39:28 +0000
parents 4b0cb9435414
children e0dd17804079
files libpurple/protocols/msn/msg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Tue Jun 22 22:03:55 2010 +0000
+++ b/libpurple/protocols/msn/msg.c	Tue Jun 22 22:39:28 2010 +0000
@@ -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 @@
 
 	g_hash_table_destroy(msg->header_table);
 	g_list_free(msg->header_list);
+	msn_slpmsgpart_destroy(msg->part);
 
 	g_free(msg);
 }