changeset 28799:bcea7c92d3f1

Oops, don't break things for successfully receiving of a file. Refs #6523.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 14 Dec 2009 06:10:28 +0000
parents b14b1737af08
children 139aa186e8cc
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Mon Dec 14 05:58:46 2009 +0000
+++ b/libpurple/protocols/msn/slplink.c	Mon Dec 14 06:10:28 2009 +0000
@@ -648,11 +648,12 @@
 				msn_slplink_send_queued_slpmsgs(slplink);
 			}
 
-		} else {
-			msn_slpcall_destroy(slpcall);
 		}
 
 		msn_slpmsg_destroy(slpmsg);
+
+		if (slpcall->wasted)
+			msn_slpcall_destroy(slpcall);
 	}
 }