summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2019-07-09 11:06:49 +0200
committerN Balachandran <nbalacha@redhat.com>2019-08-27 05:47:25 +0000
commitf2123cc691c3ed16177b3c30468615127fb2086a (patch)
treec8519ff9f6cf5a3cf7a221500c3c8192674c6d1c
parente89442104e5ae08b5cd21a81a2290471869b9877 (diff)
fuse: add missing GF_FREE to fuse_interrupt
Change-Id: Id7e003e4a53d0a0057c1c84e1cd704c80a6cb015 Fixes: bz#1744874 Signed-off-by: Csaba Henk <csaba@redhat.com>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 5fa3ff532f9..11b38f66028 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -668,7 +668,7 @@ fuse_interrupt(xlator_t *this, fuse_in_header_t *finh, void *msg,
" failed to allocate timed message",
finh->unique, fii->unique);
- return;
+ goto out;
}
dmsg->fuse_out_header.unique = finh->unique;
@@ -680,6 +680,9 @@ fuse_interrupt(xlator_t *this, fuse_in_header_t *finh, void *msg,
send_fuse_timed(this, dmsg);
}
+
+out:
+ GF_FREE(finh);
}
/*