diff libpurple/protocols/msn/slpmsg.c @ 31036:05e05d96ba75

Use the unref functions everywhere, instead of destroy. I also removed some unnecessary checks in the destroy functions, since it's already OK from the unref.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 15 Dec 2010 23:10:13 +0000
parents 72e6fa6caecc
children 7b771e6f1142
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Wed Dec 15 22:21:07 2010 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Wed Dec 15 23:10:13 2010 +0000
@@ -85,7 +85,7 @@
 		part->ack_cb = NULL;
 		part->nak_cb = NULL;
 		part->ack_data = NULL;
-		msn_slpmsgpart_destroy(part);
+		msn_slpmsgpart_unref(part);
 	}
 
 	slplink->slp_msgs = g_list_remove(slplink->slp_msgs, slpmsg);