diff --git a/lib/src/phy/sync/test/npss_test.c b/lib/src/phy/sync/test/npss_test.c index 947aad139..f577ffb30 100644 --- a/lib/src/phy/sync/test/npss_test.c +++ b/lib/src/phy/sync/test/npss_test.c @@ -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; diff --git a/lib/src/phy/sync/test/nsss_test.c b/lib/src/phy/sync/test/nsss_test.c index 21b1958fd..d61ff21c8 100644 --- a/lib/src/phy/sync/test/nsss_test.c +++ b/lib/src/phy/sync/test/nsss_test.c @@ -224,6 +224,8 @@ exit: free(fft_buffer); } + srslte_dft_exit(); + return ret; }