summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr.c')
-rw-r--r--xlators/cluster/afr/src/afr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index df227ceae..3e1808721 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -200,6 +200,9 @@ afr_local_sh_cleanup (afr_local_t *local, xlator_t *this)
if (sh->success)
FREE (sh->success);
+ if (sh->locked_nodes)
+ FREE (sh->locked_nodes);
+
if (sh->healing_fd) {
fd_unref (sh->healing_fd);
sh->healing_fd = NULL;