summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/switch.c')
-rw-r--r--xlators/cluster/dht/src/switch.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/cluster/dht/src/switch.c b/xlators/cluster/dht/src/switch.c
index ada6b2c4602..06d93cba150 100644
--- a/xlators/cluster/dht/src/switch.c
+++ b/xlators/cluster/dht/src/switch.c
@@ -630,9 +630,6 @@ fini (xlator_t *this)
GF_FREE (conf->file_layouts);
}
- if (conf->default_dir_layout)
- GF_FREE (conf->default_dir_layout);
-
if (conf->subvolumes)
GF_FREE (conf->subvolumes);
@@ -969,9 +966,6 @@ err:
GF_FREE (conf->file_layouts);
}
- if (conf->default_dir_layout)
- GF_FREE (conf->default_dir_layout);
-
if (conf->subvolumes)
GF_FREE (conf->subvolumes);