mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
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:
parent
00d6e6fe87
commit
07f8028743
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user