diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2013-11-29 08:23:47 -0500 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-11-30 10:16:29 -0800 |
commit | 20c5d47ef62b94330f1335a1c403406e9ad636d4 (patch) | |
tree | d9bf7f0f0e1ba44eade6338baebdad60635f6d87 /configure.ac | |
parent | a25d321bade8c3e7e07242f79ec9f1de2280af0f (diff) |
glusterfsd: fix small memory leaks in glusterfsd-mgmt.c
E.g. In glusterfs_volfile_fetch(), req.xdata.xdata_val is allocated
in dict_allocate_and_serialize() but not freed after mgmt_submit_request().
A survey of dict_allocate_and_serialize/_submit_request in
glusterfsd-mgmt.c shows no consistent pattern of freeing the xdata_val
and also the dict, which is a little disturbing. (Yes, clearly not
every place this occurs needs to be freed the same way.)
Change-Id: Id3f81346c0c863fa06c7b780a634e9b4ed68e453
BUG: 1036102
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/6384
Reviewed-by: Santosh Pradhan <spradhan@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7bfee047ae2..d76c018efee 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl General Public License, version 3 or any later version (LGPLv3 or dnl later), or the GNU General Public License, version 2 (GPLv2), in all dnl cases as published by the Free Software Foundation. -AC_INIT([glusterfs],[3git],[gluster-users@gluster.org],,[https://github.com/gluster/glusterfs.git]) +AC_INIT([glusterfs],[3.5git],[gluster-users@gluster.org],,[https://github.com/gluster/glusterfs.git]) AM_INIT_AUTOMAKE |