summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/dht/src/tier.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/tier.c b/xlators/cluster/dht/src/tier.c
index 3943e6fd33d..32bec8849b5 100644
--- a/xlators/cluster/dht/src/tier.c
+++ b/xlators/cluster/dht/src/tier.c
@@ -522,6 +522,12 @@ abort:
loc_wipe (&loc);
loc_wipe (&p_loc);
+
+ if (xdata_response) {
+ dict_unref (xdata_response);
+ xdata_response = NULL;
+ }
+
if ((total_files > defrag->tier_conf.max_migrate_files)
|| (total_migrated_bytes >
defrag->tier_conf.max_migrate_bytes)) {