summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog.c b/xlators/features/changelog/lib/src/gf-changelog.c
index 0e5a2c844e0..e4ad045599a 100644
--- a/xlators/features/changelog/lib/src/gf-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-changelog.c
@@ -173,6 +173,8 @@ gf_changelog_cleanup_this (xlator_t *this)
this->private = NULL;
this->ctx = NULL;
+
+ mem_pools_fini ();
}
static int
@@ -206,7 +208,13 @@ gf_changelog_init_context ()
static int
gf_changelog_init_master ()
{
- return gf_changelog_init_context ();
+ int ret = 0;
+
+ mem_pools_init_early ();
+ ret = gf_changelog_init_context ();
+ mem_pools_init_late ();
+
+ return ret;
}
/* TODO: cleanup clnt/svc on failure */