memleak: free cellsearch buffer after scan

master
Agmagor 8 years ago committed by GitHub
parent d4a05eefe4
commit fd4eb44bfc

@ -218,6 +218,7 @@ int main(int argc, char **argv) {
srslte_rf_start_rx_stream(&rf);
n = srslte_ue_cellsearch_scan(&cs, found_cells, NULL);
srslte_ue_cellsearch_free(&cs);
if (n < 0) {
fprintf(stderr, "Error searching cell\n");
exit(-1);

Loading…
Cancel
Save