mirror of https://github.com/PentHertz/srsLTE.git
delete neighbour cells in rrc dtor
This commit is contained in:
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…
Reference in New Issue