radio: fix memleak of dummy buffers

master
Andre Puschmann 4 years ago
parent 59b9125d4e
commit c327a18f59

@ -54,6 +54,12 @@ radio::~radio()
zeros = nullptr;
}
for (uint32_t i = 0; i < SRSLTE_MAX_CHANNELS; i++) {
if (dummy_buffers[i]) {
free(dummy_buffers[i]);
}
}
for (srslte_resampler_fft_t& q : interpolators) {
srslte_resampler_fft_free(&q);
}

Loading…
Cancel
Save