summaryrefslogtreecommitdiff
path: root/src/core/net-disconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/net-disconnect.c')
-rw-r--r--src/core/net-disconnect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/net-disconnect.c b/src/core/net-disconnect.c
index b0e9535b..f232f1f4 100644
--- a/src/core/net-disconnect.c
+++ b/src/core/net-disconnect.c
@@ -42,6 +42,7 @@ static void net_disconnect_remove(NET_DISCONNECT_REC *rec)
disconnects = g_slist_remove(disconnects, rec);
g_source_remove(rec->tag);
+ net_disconnect(rec->handle);
g_free(rec);
}