Bug 1347249 - libgfapi : variables allocated by glfs_set_volfile_server is not freed
Summary: libgfapi : variables allocated by glfs_set_volfile_server is not freed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: libgfapi
Version: mainline
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Jiffin
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 11:43 UTC by Jiffin
Modified: 2017-03-27 18:14 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.9.0
Clone Of:
Environment:
Last Closed: 2017-03-27 18:14:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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/


Note You need to log in before you can comment on or make changes to this bug.