delete neighbour cells in rrc dtor

master
Andre Puschmann 7 years ago
parent 3f816813c1
commit b40605bc7f

@ -66,6 +66,11 @@ rrc::~rrc()
if (serving_cell) {
delete(serving_cell);
}
std::vector<cell_t*>::iterator it;
for (it = neighbour_cells.begin(); it != neighbour_cells.end(); ++it) {
delete(*it);
}
}
static void liblte_rrc_handler(void *ctx, char *str) {

Loading…
Cancel
Save