Merge pull request #64 from Agmagor/patch-2

memleak: free FFT plan upon pss_synch_free
This commit is contained in:
Ismael Gomez 2016-11-17 17:17:43 +01:00 committed by GitHub
commit 2196444875
1 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,8 @@ void srslte_pss_synch_free(srslte_pss_synch_t *q) {
if (q->conv_output_avg) {
free(q->conv_output_avg);
}
srslte_dft_plan_free(&q->dftp_input);
bzero(q, sizeof(srslte_pss_synch_t));
}