deallocate used buffers in buffer_pool dtor

master
Andre Puschmann 7 years ago
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…
Cancel
Save