Commit 80fda248 authored by Robert Schmidt's avatar Robert Schmidt

TOFIX: invalid free

parent 6c4403fb
...@@ -192,8 +192,9 @@ void nr_phy_free_RU(RU_t *ru) ...@@ -192,8 +192,9 @@ void nr_phy_free_RU(RU_t *ru)
free_and_zero(ru->common.txdataF); free_and_zero(ru->common.txdataF);
// free IFFT input buffers (TX) // free IFFT input buffers (TX)
for (i = 0; i < ru->nb_tx; i++) free_and_zero(ru->common.txdataF_BF[i]); // invalid pointers in 7.2!
free_and_zero(ru->common.txdataF_BF); //for (i = 0; i < ru->nb_tx; i++) free_and_zero(ru->common.txdataF_BF[i]);
//free_and_zero(ru->common.txdataF_BF);
// free FFT output buffers (RX) // free FFT output buffers (RX)
for (i = 0; i < ru->nb_rx; i++) free_and_zero(ru->common.rxdataF[i]); for (i = 0; i < ru->nb_rx; i++) free_and_zero(ru->common.rxdataF[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment