erasure_code: fix unaligned free error in perf apps on windows

Signed-off-by: Cornu, Marcel D <marcel.d.cornu@intel.com>
This commit is contained in:
Cornu, Marcel D 2024-11-19 13:46:12 +00:00 committed by Pablo de Lara
parent 00d6e6fe87
commit 07f8028743
2 changed files with 6 additions and 6 deletions

View File

@ -272,8 +272,8 @@ main(int argc, char *argv[])
exit: exit:
free(err_list); free(err_list);
for (i = 0; i < TEST_SOURCES; i++) { for (i = 0; i < TEST_SOURCES; i++) {
free(buffs[i]); aligned_free(buffs[i]);
free(temp_buffs[i]); aligned_free(temp_buffs[i]);
} }
return ret; return ret;
} }

View File

@ -379,10 +379,10 @@ main(int argc, char *argv[])
exit: exit:
free(err_list); free(err_list);
for (i = 0; i < TEST_SOURCES; i++) { for (i = 0; i < TEST_SOURCES; i++) {
free(buffs[i]); aligned_free(buffs[i]);
free(temp_buffs[i]); aligned_free(temp_buffs[i]);
free(update_buffs[i]); aligned_free(update_buffs[i]);
free(perf_update_buffs[i]); aligned_free(perf_update_buffs[i]);
} }
return ret; return ret;
} }