summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/lib/src/xdr-nfs3.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/lib/src/xdr-nfs3.c')
-rw-r--r--xlators/nfs/lib/src/xdr-nfs3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/nfs/lib/src/xdr-nfs3.c b/xlators/nfs/lib/src/xdr-nfs3.c
index 0ea23dc1cb1..97ec1b6fe79 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);
}