aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/si.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/si.c')
-rw-r--r--protocols/jabber/si.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/jabber/si.c b/protocols/jabber/si.c
index f5f3b2fe..f3060fff 100644
--- a/protocols/jabber/si.c
+++ b/protocols/jabber/si.c
@@ -34,7 +34,10 @@ void jabber_si_free_transfer( file_transfer_t *ft)
struct jabber_data *jd = tf->ic->proto_data;
if ( tf->watch_in )
+ {
b_event_remove( tf->watch_in );
+ tf->watch_in = 0;
+ }
jd->filetransfers = g_slist_remove( jd->filetransfers, tf );