Bug 1347249

Summary: libgfapi : variables allocated by glfs_set_volfile_server is not freed
Product: [Community] GlusterFS Reporter: Jiffin <jthottan>
Component: libgfapiAssignee: Jiffin <jthottan>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir D <sdharane>
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-27 18:14:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiffin 2016-06-16 11:43:07 UTC
Description of problem:

The variable allocated by glfs_set_volfile_server() need to be
freed at least when glfs_fini() is called.

Version-Release number of selected component (if applicable):
mainline

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-06-16 11:43:23 UTC
REVIEW: http://review.gluster.org/14743 (libgfapi : free paremeters allocated by glfs_set_volfile_server()) posted (#1) for review on master by jiffin tony Thottan (jthottan)

Comment 2 Vijay Bellur 2016-06-23 09:27:07 UTC
REVIEW: http://review.gluster.org/14743 (libgfapi : free parameters allocated by glfs_set_volfile_server()) posted (#2) for review on master by jiffin tony Thottan (jthottan)

Comment 3 Vijay Bellur 2016-06-30 22:21:52 UTC
COMMIT: http://review.gluster.org/14743 committed in master by Jeff Darcy (jdarcy) 
------
commit 09caa0c054c85f030c194362cbf3c687b4a56106
Author: Jiffin Tony Thottan <jthottan>
Date:   Thu Jun 16 15:55:47 2016 +0530

    libgfapi : free parameters allocated by glfs_set_volfile_server()
    
    This change introduce new function glfs_free_volfile_server
    which frees the variables allocated by glfs_set_volfile_server
    during glfs_fini()
    
    Change-Id: I8b1806c56e3431c33e4e8c17f9e8aa17a28a2f5c
    BUG: 1347249
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: http://review.gluster.org/14743
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 4 Shyamsundar 2017-03-27 18:14:00 UTC
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.9.0, please open a new bug report.

glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/