fix valgrind check caused by missing dft_exit

master
Andre Puschmann 5 years ago
parent 0ec49f00f7
commit 20409b4fc2

@ -149,6 +149,8 @@ int main(int argc, char** argv)
free(input_buffer);
srslte_ofdm_tx_free(&ifft);
srslte_dft_exit();
if (peak_pos == SRSLTE_NPSS_CORR_OFFSET) {
printf("Ok\n");
ret = SRSLTE_SUCCESS;

@ -224,6 +224,8 @@ exit:
free(fft_buffer);
}
srslte_dft_exit();
return ret;
}

Loading…
Cancel
Save