mirror of https://github.com/PentHertz/srsLTE.git
fix regs leak
This commit is contained in:
parent
e86862611c
commit
095d0cda5a
|
@ -58,6 +58,7 @@ class sched_cell_params_t
|
||||||
{
|
{
|
||||||
if (p != nullptr) {
|
if (p != nullptr) {
|
||||||
srslte_regs_free(p);
|
srslte_regs_free(p);
|
||||||
|
delete p;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue