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/afr | |
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/afr')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-entry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c index ab0d98bd014..cb3648c07bd 100644 --- a/xlators/cluster/afr/src/afr-self-heal-entry.c +++ b/xlators/cluster/afr/src/afr-self-heal-entry.c @@ -156,6 +156,7 @@ afr_selfheal_recreate_entry (xlator_t *this, int dst, int source, inode_t *dir, out: if (xdata) dict_unref (xdata); + GF_FREE (linkname); loc_wipe (&loc); loc_wipe (&srcloc); return ret; |