Description of problem: While reading code found that the memory allocated for 'linkname' is not 'free'ed. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a symlink while one of the bricks is offline and the symlink heal leaks memory. 2. 3. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/10305 (cluster/afr: Fix memleak in symlink heal) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/10305 (cluster/afr,dht: Fix memleak after syncop_readlink) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu)
COMMIT: http://review.gluster.org/10305 committed in master by Vijay Bellur (vbellur) ------ commit 838317e199c6cc11ff5e7094552537f03a8f6313 Author: Pranith Kumar K <pkarampu> Date: Mon Apr 20 23:23:55 2015 +0530 cluster/afr,dht: Fix memleak after syncop_readlink Change-Id: Ia71c14c2c2709c541075748c9011437e0d8cac4b BUG: 1213542 Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/10305 Reviewed-by: Ravishankar N <ravishankar> Reviewed-by: N Balachandran <nbalacha> Reviewed-by: Krutika Dhananjay <kdhananj> Reviewed-by: Vijay Bellur <vbellur> Tested-by: Vijay Bellur <vbellur>
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.
Fix for this bug is already made in a GlusterFS release. The cloned BZ has details of the fix and the release. Hence closing this mainline BZ.
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user