diff options
author | Csaba Henk <csaba@redhat.com> | 2019-07-09 11:06:49 +0200 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2019-08-27 05:47:25 +0000 |
commit | f2123cc691c3ed16177b3c30468615127fb2086a (patch) | |
tree | c8519ff9f6cf5a3cf7a221500c3c8192674c6d1c /xlators | |
parent | e89442104e5ae08b5cd21a81a2290471869b9877 (diff) |
fuse: add missing GF_FREE to fuse_interrupt
Change-Id: Id7e003e4a53d0a0057c1c84e1cd704c80a6cb015
Fixes: bz#1744874
Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 5 |
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); } /* |