summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-04-27 09:11:17 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-27 08:07:24 -0700
commit585c23e8c7e81272d206aca19b2c0807975fec92 (patch)
tree6e6874937352072740b832a6f189c6261b090e22 /xlators/nfs/server
parent63c8d8f2998dcbcfd392b67ea68ad3d3ec4a2805 (diff)
nfs/server: Memory accounting changes
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 329 (Replacing memory allocation functions with mem-type functions) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
Diffstat (limited to 'xlators/nfs/server')
-rw-r--r--xlators/nfs/server/src/nfs.c4
1 files changed, 2 insertions, 2 deletions
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;