summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-08-05 03:59:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-06 03:37:32 -0700
commit767b6b7d3f5b5e96e13f459fae6260d7cb129403 (patch)
tree80a8cee5be6b9eed718d5406c52e1d66e6bde5b6 /libglusterfsclient/src
parent305025fbf823007fe715ea1ae0bbe44102221663 (diff)
Implement mem pool for inode dentry
Ran posix compliance test and sanity test Signed-off-by: shishir gowda <shishirng@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 'libglusterfsclient/src')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index daf05ec95..3ecb56c8c 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -2058,6 +2058,8 @@ glusterfs_fini (glusterfs_handle_t handle)
FREE (ctx->gf_ctx.cmd_args.volume_name);
FREE (ctx->gf_ctx.pool);
FREE (ctx->gf_ctx.event_pool);
+ mem_pool_destroy (ctx->itable->inode_pool);
+ mem_pool_destroy (ctx->itable->dentry_pool);
/* iobuf_pool_destroy (ctx->gf_ctx.iobuf_pool); */
((gf_timer_registry_t *)ctx->gf_ctx.timer)->fin = 1;