summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/stripe-merge.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/extras/stripe-merge.c b/extras/stripe-merge.c
index 32768badd36..74bd47e303e 100644
--- a/extras/stripe-merge.c
+++ b/extras/stripe-merge.c
@@ -305,14 +305,10 @@ file_stripe_info *validate_and_open_files(char *paths[], int count)
return finfo;
err:
- if (stripe_count_attr)
- free(stripe_count_attr);
- if (stripe_size_attr)
- free(stripe_size_attr);
- if (stripe_index_attr)
- free(stripe_index_attr);
- if (stripe_coalesce_attr)
- free(stripe_coalesce_attr);
+ free(stripe_count_attr);
+ free(stripe_size_attr);
+ free(stripe_index_attr);
+ free(stripe_coalesce_attr);
if (finfo) {
close_files(finfo);