Commit 8a36b9b8 authored by Bartosz Podrygajlo's avatar Bartosz Podrygajlo

rfsimulator: fix beam_ctrl_t leak.

parent 56970390
......@@ -1490,6 +1490,7 @@ static void rfsimulator_end(openair0_device *device)
}
clear_beam_queue(&s->beam_ctrl->tx, INT64_MAX);
clear_beam_queue(&s->beam_ctrl->rx, INT64_MAX);
delete s->beam_ctrl;
close(s->epollfd);
free(s);
}
......
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