fix leaks in viterbi and modem tests

This commit is contained in:
Andre Puschmann 2018-03-06 22:33:57 +01:00
parent a884aa61eb
commit ac0f934558
2 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,7 @@ int main(int argc, char **argv) {
free(llr);
free(llr_c);
free(data_rx);
free(data_rx2);
if (snr_points == 1) {
int expected_errors = get_expected_errors(nof_frames, seed, frame_length, tail_biting, ebno_db);

View File

@ -197,6 +197,7 @@ int main(int argc, char **argv) {
}
}
free(llr2);
free(llr);
free(symbols);
free(symbols_bytes);