mirror of https://github.com/PentHertz/srsLTE.git
Merge pull request #64 from Agmagor/patch-2
memleak: free FFT plan upon pss_synch_free
This commit is contained in:
commit
2196444875
|
@ -203,6 +203,8 @@ void srslte_pss_synch_free(srslte_pss_synch_t *q) {
|
||||||
free(q->conv_output_avg);
|
free(q->conv_output_avg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
srslte_dft_plan_free(&q->dftp_input);
|
||||||
|
|
||||||
bzero(q, sizeof(srslte_pss_synch_t));
|
bzero(q, sizeof(srslte_pss_synch_t));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue