Description of problem: Currently, server3_3_(f)setxattr, server3_3_(f)xattrop and server3_3_statfs of protocol/server do not free allocated space for xdata. However xdata in these fops seems to be NULL allways, so the impact of the memory leak is minimum. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: http://review.gluster.org/8434 (protocol/server: Fix possible memory leaks of xdata) posted (#1) for review on master by Xavier Hernandez (xhernandez)
REVIEW: http://review.gluster.org/8434 (protocol/server: Fix possible memory leaks of xdata) posted (#2) for review on master by Xavier Hernandez (xhernandez)
REVIEW: http://review.gluster.org/8434 (protocol/server: Fix possible memory leaks of xdata) posted (#3) for review on master by Xavier Hernandez (xhernandez)
REVIEW: http://review.gluster.org/8434 (protocol/server: Fix possible memory leaks of xdata) posted (#4) for review on master by Xavier Hernandez (xhernandez)
REVIEW: http://review.gluster.org/8434 (protocol/server: Fix possible memory leaks of xdata) posted (#5) for review on master by Xavier Hernandez (xhernandez)
COMMIT: http://review.gluster.org/8434 committed in master by Vijay Bellur (vbellur) ------ commit 71844788a1da0249201b27109e3ea00599569b93 Author: Xavier Hernandez <xhernandez> Date: Fri Aug 8 09:47:10 2014 +0200 protocol/server: Fix possible memory leaks of xdata There was a memory leak of xdata argument in fops (f)setxattr, (f)xattrop and statfs. This leak was minor because xdata is rarely, or even not used at all, in this fops. Change-Id: Ie1083ae227755a11cf72f8d89595520a5afb3042 BUG: 1127653 Signed-off-by: Xavier Hernandez <xhernandez> Reviewed-on: http://review.gluster.org/8434 Reviewed-by: Niels de Vos <ndevos> Tested-by: Gluster Build System <jenkins.com>
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.7.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user