mirror of https://github.com/PentHertz/srsLTE.git
deallocate used buffers in buffer_pool dtor
This commit is contained in:
parent
cbda94f0a6
commit
43811e1886
|
@ -72,6 +72,10 @@ public:
|
|||
delete available.top();
|
||||
available.pop();
|
||||
}
|
||||
|
||||
for (uint32_t i = 0; i < used.size(); i++) {
|
||||
delete used[i];
|
||||
}
|
||||
}
|
||||
|
||||
void print_all_buffers()
|
||||
|
|
Loading…
Reference in New Issue