From 767b6b7d3f5b5e96e13f459fae6260d7cb129403 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 5 Aug 2010 03:59:38 +0000 Subject: Implement mem pool for inode dentry Ran posix compliance test and sanity test Signed-off-by: shishir gowda 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 --- libglusterfsclient/src/libglusterfsclient.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfsclient') diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index daf05ec95fb..3ecb56c8c1f 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; -- cgit