mirror of https://github.com/PentHertz/srsLTE.git
fix leaks in viterbi and modem tests
This commit is contained in:
parent
a884aa61eb
commit
ac0f934558
|
@ -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);
|
||||
|
|
|
@ -197,6 +197,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
}
|
||||
|
||||
free(llr2);
|
||||
free(llr);
|
||||
free(symbols);
|
||||
free(symbols_bytes);
|
||||
|
|
Loading…
Reference in New Issue