From 060380d460caa74b30eb6c0dedc8e25c64030acf Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 2 Sep 2010 06:10:11 +0000 Subject: nfs3: Free vectored write args using FREE not GF_FREE ..because the file handle in write3args is allocated inside libc using malloc not memory accounting code in glusterfs. Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur BUG: 1499 (GNFS from mainline Glusterfs-3.1-qa13 crashes while initiating SFS2008) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1499 --- xlators/nfs/lib/src/xdr-nfs3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xlators/nfs/lib/src/xdr-nfs3.c') diff --git a/xlators/nfs/lib/src/xdr-nfs3.c b/xlators/nfs/lib/src/xdr-nfs3.c index 0ea23dc1c..97ec1b6fe 100644 --- a/xlators/nfs/lib/src/xdr-nfs3.c +++ b/xlators/nfs/lib/src/xdr-nfs3.c @@ -1891,8 +1891,7 @@ xdr_free_write3args_nocopy (write3args *wa) if (!wa) return; - GF_FREE (wa->file.data.data_val); - GF_FREE (wa); + FREE (wa->file.data.data_val); } -- cgit