e3c68b
From 7455900798446681fea1a2693fac9b423ad9722a Mon Sep 17 00:00:00 2001
e3c68b
From: Csaba Henk <csaba@redhat.com>
e3c68b
Date: Tue, 9 Jul 2019 11:06:49 +0200
e3c68b
Subject: [PATCH 265/265] fuse: add missing GF_FREE to fuse_interrupt
e3c68b
e3c68b
Upstream:
e3c68b
(Reviewed on https://review.gluster.org/c/glusterfs/+/23016)
e3c68b
> Change-Id: Id7e003e4a53d0a0057c1c84e1cd704c80a6cb015
e3c68b
> Fixes: bz#1728047
e3c68b
> Signed-off-by: Csaba Henk <csaba@redhat.com>
e3c68b
e3c68b
BUG: 1734423
e3c68b
Change-Id: I50640bf9b56349ab9b07140bdce8a45a7d07ba7a
e3c68b
Signed-off-by: Csaba Henk <csaba@redhat.com>
e3c68b
Reviewed-on: https://code.engineering.redhat.com/gerrit/177298
e3c68b
Tested-by: RHGS Build Bot <nigelb@redhat.com>
e3c68b
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
e3c68b
---
e3c68b
 xlators/mount/fuse/src/fuse-bridge.c | 5 ++++-
e3c68b
 1 file changed, 4 insertions(+), 1 deletion(-)
e3c68b
e3c68b
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
e3c68b
index c05866b..1c946a2 100644
e3c68b
--- a/xlators/mount/fuse/src/fuse-bridge.c
e3c68b
+++ b/xlators/mount/fuse/src/fuse-bridge.c
e3c68b
@@ -661,7 +661,7 @@ fuse_interrupt(xlator_t *this, fuse_in_header_t *finh, void *msg,
e3c68b
                    " failed to allocate timed message",
e3c68b
                    finh->unique, fii->unique);
e3c68b
 
e3c68b
-            return;
e3c68b
+            goto out;
e3c68b
         }
e3c68b
 
e3c68b
         dmsg->fuse_out_header.unique = finh->unique;
e3c68b
@@ -673,6 +673,9 @@ fuse_interrupt(xlator_t *this, fuse_in_header_t *finh, void *msg,
e3c68b
 
e3c68b
         send_fuse_timed(this, dmsg);
e3c68b
     }
e3c68b
+
e3c68b
+out:
e3c68b
+    GF_FREE(finh);
e3c68b
 }
e3c68b
 
e3c68b
 /*
e3c68b
-- 
e3c68b
1.8.3.1
e3c68b