summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index cd016514cab..18ca5c82dd0 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -722,6 +722,9 @@ main (int argc, char *argv[])
int ret = -1;
glusterfs_ctx_t *ctx = NULL;
+ mem_pools_init_early ();
+ mem_pools_init_late ();
+
ctx = glusterfs_ctx_new ();
if (!ctx)
return ENOMEM;
@@ -786,6 +789,8 @@ main (int argc, char *argv[])
out:
// glusterfs_ctx_destroy (ctx);
+ mem_pools_fini ();
+
return ret;
}