From 838317e199c6cc11ff5e7094552537f03a8f6313 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 20 Apr 2015 23:23:55 +0530 Subject: cluster/afr,dht: Fix memleak after syncop_readlink Change-Id: Ia71c14c2c2709c541075748c9011437e0d8cac4b BUG: 1213542 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/10305 Reviewed-by: Ravishankar N Reviewed-by: N Balachandran Reviewed-by: Krutika Dhananjay Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- xlators/cluster/afr/src/afr-self-heal-entry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c') 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; -- cgit