summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peer.c b/src/peer.c
index 721deb6..93cb465 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -133,6 +133,8 @@ void fastd_peer_delete(fastd_context *ctx, fastd_peer *peer) {
}
}
+ fastd_task_delete_peer(ctx, peer);
+
free(peer);
}