summaryrefslogtreecommitdiffstats
path: root/xlators/features/selinux/src/selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/selinux/src/selinux.c')
-rw-r--r--xlators/features/selinux/src/selinux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/selinux/src/selinux.c b/xlators/features/selinux/src/selinux.c
index e8e16cde8c4..9b1b4b55e1a 100644
--- a/xlators/features/selinux/src/selinux.c
+++ b/xlators/features/selinux/src/selinux.c
@@ -252,6 +252,7 @@ out:
if (ret) {
GF_FREE(priv);
mem_pool_destroy(this->local_pool);
+ this->local_pool = NULL;
}
return ret;
}
@@ -280,6 +281,7 @@ fini(xlator_t *this)
GF_FREE(priv);
mem_pool_destroy(this->local_pool);
+ this->local_pool = NULL;
return;
}