diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-04-20 23:23:55 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-01 07:50:31 -0700 |
commit | e1f675cfd0f5b601c332b17333149d6c760bfd89 (patch) | |
tree | a02b737b49f38da81e300661e2934f135c9ff3eb /xlators/cluster/dht/src/dht-rebalance.c | |
parent | 85a0fb6d304babb9d7f35e26a45677d8210da8eb (diff) |
cluster/afr,dht: Fix memleak after syncop_readlink
Backport of http://review.gluster.org/10305
BUG: 1216302
Change-Id: Icb0f2d6bbff806e1c5827fabcbf46b9b7983491f
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/10441
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index 9f389c12213..b0e21da8cb5 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -866,6 +866,7 @@ done: } out: + GF_FREE (link); if (dict) dict_unref (dict); |