diff libpurple/protocols/msn/msg.c @ 32028:60d879806964

Be a bit more specific about removing non-local MSN objects, which HanzZ thinks should fix a leak somewhere.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 02 Sep 2011 19:50:58 +0000
parents cf702c6ab9e7
children 10e5000326a5
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Fri Sep 02 18:05:24 2011 +0000
+++ b/libpurple/protocols/msn/msg.c	Fri Sep 02 19:50:58 2011 +0000
@@ -970,7 +970,7 @@
 			msn_slplink_request_object(slplink, smile, got_emoticon, NULL, obj);
 		}
 
-		msn_object_destroy(obj);
+		msn_object_destroy(obj, FALSE);
 		obj =   NULL;
 		who =   NULL;
 		sha1 = NULL;
@@ -1025,7 +1025,7 @@
 		slplink = msn_session_get_slplink(session, who);
 		msn_slplink_request_object(slplink, data, got_wink_cb, NULL, obj);
 
-		msn_object_destroy(obj);
+		msn_object_destroy(obj, FALSE);
 
 
 	} else if (!strcmp(id, "3")) {
@@ -1045,7 +1045,7 @@
 		slplink = msn_session_get_slplink(session, who);
 		msn_slplink_request_object(slplink, data, got_voiceclip_cb, NULL, obj);
 
-		msn_object_destroy(obj);
+		msn_object_destroy(obj, FALSE);
 
 	} else if (!strcmp(id, "4")) {
 		/* Action */