diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c index 8f68181256c00bf78df1668dbb95b133488caf11..f057c213c453a8bb2e755d17b5778beb15aab474 100644 --- a/fs/fuse/cuse.c +++ b/fs/fuse/cuse.c @@ -518,6 +518,7 @@ static int cuse_channel_open(struct inode *inode, struct file *file) rc = cuse_send_init(cc); if (rc) { fuse_dev_free(fud); + fuse_conn_put(&cc->fc); return rc; } file->private_data = fud;