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); free(input_buffer);
srslte_ofdm_tx_free(&ifft); srslte_ofdm_tx_free(&ifft);
srslte_dft_exit();
if (peak_pos == SRSLTE_NPSS_CORR_OFFSET) { if (peak_pos == SRSLTE_NPSS_CORR_OFFSET) {
printf("Ok\n"); printf("Ok\n");
ret = SRSLTE_SUCCESS; ret = SRSLTE_SUCCESS;

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

Loading…
Cancel
Save