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