mirror of
https://github.com/intel/isa-l.git
synced 2025-10-27 19:10:18 +01:00
Free allocated memory in test applications
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
@@ -210,6 +210,22 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
printf(" } done all: Pass\n");
|
||||
|
||||
// Free allocated memory
|
||||
free(encode_matrix);
|
||||
free(decode_matrix);
|
||||
free(invert_matrix);
|
||||
free(temp_matrix);
|
||||
free(g_tbls);
|
||||
|
||||
for (i = 0; i < m; i++) {
|
||||
free(frag_ptrs[i]);
|
||||
}
|
||||
|
||||
for (i = 0; i < p; i++) {
|
||||
free(recover_outp[i]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user