From 585c23e8c7e81272d206aca19b2c0807975fec92 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 27 Apr 2010 09:11:17 +0000 Subject: nfs/server: Memory accounting changes Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 329 (Replacing memory allocation functions with mem-type functions) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329 --- xlators/nfs/server/src/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/nfs/server/src/nfs.c') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index fa7edc9ff..b67567f78 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -85,7 +85,7 @@ nfs_deinit_versions (struct list_head *versions, xlator_t *this) *(version->program)); list_del (&version->list); - FREE (version); + GF_FREE (version); } return 0; @@ -514,7 +514,7 @@ free_rpcsvc: * rpcsvc_deinit */ free_nfs: if (ret == -1) - FREE (nfs); + GF_FREE (nfs); gf_log (GF_NFS, GF_LOG_DEBUG, "NFS service started"); return ret; -- cgit