diff --git a/erasure_code/erasure_code_perf.c b/erasure_code/erasure_code_perf.c index 7d6651a..df33ed5 100644 --- a/erasure_code/erasure_code_perf.c +++ b/erasure_code/erasure_code_perf.c @@ -272,8 +272,8 @@ main(int argc, char *argv[]) exit: free(err_list); for (i = 0; i < TEST_SOURCES; i++) { - free(buffs[i]); - free(temp_buffs[i]); + aligned_free(buffs[i]); + aligned_free(temp_buffs[i]); } return ret; } diff --git a/erasure_code/erasure_code_update_perf.c b/erasure_code/erasure_code_update_perf.c index 91aad8b..b2da352 100644 --- a/erasure_code/erasure_code_update_perf.c +++ b/erasure_code/erasure_code_update_perf.c @@ -379,10 +379,10 @@ main(int argc, char *argv[]) exit: free(err_list); for (i = 0; i < TEST_SOURCES; i++) { - free(buffs[i]); - free(temp_buffs[i]); - free(update_buffs[i]); - free(perf_update_buffs[i]); + aligned_free(buffs[i]); + aligned_free(temp_buffs[i]); + aligned_free(update_buffs[i]); + aligned_free(perf_update_buffs[i]); } return ret; }