From 402c8fff588120a7cf5922822904ce45f30612a8 Mon Sep 17 00:00:00 2001 From: yangyun50 <149988609+yangyun50@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:52:39 +0800 Subject: [PATCH] remove duplicated fuse_chan_put() (#893) --- lib/fuse_lowlevel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index d8c0cd1..86e49f7 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -1740,8 +1740,6 @@ static int find_interrupted(struct fuse_session *se, struct fuse_req *req) pthread_mutex_lock(&se->lock); curr->ctr--; if (!curr->ctr) { - fuse_chan_put(req->ch); - req->ch = NULL; destroy_req(curr); } -- 2.30.2