soc.2010.msn-tlc: d5fcede8: A Message may not have a part, use dest...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Wed Jul 7 21:41:32 EDT 2010


----------------------------------------------------------------------
Revision: d5fcede8260586ac079f1c95111cf81f97ab84d0
Parent:   c1ec24f2fffff73d5865336290d5bc3059f5e73b
Author:   masca at cpw.pidgin.im
Date:     07/07/10 17:08:26
Branch:   im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/d5fcede8260586ac079f1c95111cf81f97ab84d0

Changelog: 

A Message may not have a part,  use destroy which return silently when part == NULL instead of asserting.

Changes against parent c1ec24f2fffff73d5865336290d5bc3059f5e73b

  patched  libpurple/protocols/msn/msg.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msg.c	d993f4a1d6823a9be723978d587aee2cc207512b
+++ libpurple/protocols/msn/msg.c	722c049914d84a9dcb77ce499aaee2c958fd2d4d
@@ -72,7 +72,7 @@ msn_message_destroy(MsnMessage *msg)
 
 	g_hash_table_destroy(msg->header_table);
 	g_list_free(msg->header_list);
-	msn_slpmsgpart_unref(msg->part);
+	msn_slpmsgpart_destroy(msg->part);
 
 	g_free(msg);
 }


More information about the Commits mailing list