summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-18 01:20:41 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-18 21:15:16 -0800
commit71d6a1c8aaa82780bdf4191732216ac1f5c57e65 (patch)
tree4e01a5368be07e2475634c5787120cc16efc2ba6
parent9d9cbb893661763783f2e4fb8093ff7f0a720143 (diff)
libglusterfsclient/umount: fix double free.
- calling glusterfs_fini results in double free. 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
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index acdcbb68e..d6970ea2c 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -1890,7 +1890,7 @@ _libgf_umount (char *vmp)
goto out;
}
- ret = glusterfs_fini (entry->handle);
+/* ret = glusterfs_fini (entry->handle); */
list_del_init (&entry->list);
libgf_free_vmp_entry (entry);