pidgin: 2dbb00f0: The PurpleXfer should be unref'd if the ...
qulogic at pidgin.im
qulogic at pidgin.im
Wed Dec 23 03:47:01 EST 2009
-----------------------------------------------------------------
Revision: 2dbb00f0ef32bda6e230d1a55892975135f76691
Ancestor: 2f434fcebe3b39420beed1de231bd1a0c8be383f
Author: qulogic at pidgin.im
Date: 2009-12-23T05:57:45
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2dbb00f0ef32bda6e230d1a55892975135f76691
Modified files:
libpurple/ft.c
ChangeLog:
The PurpleXfer should be unref'd if the file selection dialog was
cancelled, just as when the user correctly selects a file.
-------------- next part --------------
============================================================
--- libpurple/ft.c c861518e2f9adb11ac374d239a320e15d8a9c4ab
+++ libpurple/ft.c 2089138272f391ff74e9485194d4c923cc259b42
@@ -372,6 +372,7 @@ purple_xfer_choose_file_cancel_cb(void *
purple_xfer_set_status(xfer, PURPLE_XFER_STATUS_CANCEL_LOCAL);
purple_xfer_request_denied(xfer);
+ purple_xfer_unref(xfer);
}
static int
More information about the Commits
mailing list