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