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