summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/nsr-recon/src/recon_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/cluster/nsr-recon/src/recon_driver.c b/xlators/cluster/nsr-recon/src/recon_driver.c
index 2e2299ad1..0d5560957 100644
--- a/xlators/cluster/nsr-recon/src/recon_driver.c
+++ b/xlators/cluster/nsr-recon/src/recon_driver.c
@@ -1204,10 +1204,10 @@ compute_resolution_work(nsr_recon_driver_ctx_t *ctx,
if (invalidate) {
if (my_info->records) {
GF_FREE(my_info->records);
- my_info->records = GF_CALLOC(num,
- sizeof(nsr_reconciliation_record_t),
- gf_mt_recon_private_t);
- }
+ }
+ my_info->records = GF_CALLOC(num,
+ sizeof(nsr_reconciliation_record_t),
+ gf_mt_recon_private_t);
}
for (i=0; i < num; i++) {