changeset 28822:df5808d7e669

The PurpleXfer should be unref'd if the file selection dialog was cancelled, just as when the user correctly selects a file.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 23 Dec 2009 05:57:45 +0000
parents edea24b65db9
children 16dfa8df7dd1
files libpurple/ft.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/ft.c	Wed Dec 23 05:55:02 2009 +0000
+++ b/libpurple/ft.c	Wed Dec 23 05:57:45 2009 +0000
@@ -372,6 +372,7 @@
 
 	purple_xfer_set_status(xfer, PURPLE_XFER_STATUS_CANCEL_LOCAL);
 	purple_xfer_request_denied(xfer);
+	purple_xfer_unref(xfer);
 }
 
 static int