diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-18 01:19:37 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-18 21:14:54 -0800 |
commit | 2bf35da812016c8adb05b0aa90c9f0b25e50a878 (patch) | |
tree | 677e96d018784f30dab2ccf1dfab7feb5817fb05 /format-patch.sh | |
parent | 64a4b1f78ee719f33928f4de9abac2a09ce84f21 (diff) |
libglusterfsclient: fix memory leak.
- glusterfs_glh_getxattr was implemented using libgf_client_lookup. Hence the
inode corresponding to the path on which getxattr was done was refed twice
- one during path_lookup and the other in libgf_client_lookup - but unrefed
only once.
- with inode generation number changes the inode returned by inode_link may
not be the same as the input argument. Hence the inode returned by
inode_link should be used, not the one returned in libgf_client_lookup_cbk.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 369 (Samba does not work with booster.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
Diffstat (limited to 'format-patch.sh')
0 files changed, 0 insertions, 0 deletions