diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2012-06-25 17:36:44 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-12 18:05:58 -0700 |
commit | af7cd3eb5ad447917a8ab2f4aa1d2227bc484c2b (patch) | |
tree | 7be639a4b7798227a7e04862c49a26441b0ff49d /libglusterfs/src/common-utils.h | |
parent | 092dc2676b48659faa09c6606ce0280e14bbcf63 (diff) |
nfs: memory leak fixes
* Fixes a leak of strdups in the parent_inode_loc_fill
code path.
* Introduces nfs_forget() to cleanup the ctx(addr of
inode_q), a major leak involving inode_q hereby fixed.
* Using the correct size to allocate fd_entry structures.
* Free hashmatch in call_state during call state wipe
and reassignment of the same.
* Free cs->resolventry in the rename fop code path.
Change-Id: I4ff556eba27f0b56ef824c0a86ab3d393d0d38c1
BUG: 835059
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.com/3641
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
0 files changed, 0 insertions, 0 deletions