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