diff options
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index f0fd6ffd0..d9c42cbcd 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -515,6 +515,8 @@ afr_local_sh_cleanup (afr_local_t *local, xlator_t *this) if (sh->fresh_parent_dirs) GF_FREE (sh->fresh_parent_dirs); + if (sh->write_needed) + GF_FREE (sh->write_needed); loc_wipe (&sh->parent_loc); loc_wipe (&sh->lookup_loc); |