[block-cache] fix leaking validators
The memory for the blocks is explicitly managed, and the destructors for the blocks wasn't being called.
This commit is contained in:
@@ -138,6 +138,7 @@ namespace bcache {
|
||||
|
||||
private:
|
||||
int init_free_list(unsigned count);
|
||||
void exit_free_list();
|
||||
block *__alloc_block();
|
||||
void complete_io(block &b, int result);
|
||||
void issue_low_level(block &b, enum io_iocb_cmd opcode, const char *desc);
|
||||
|
||||
Reference in New Issue
Block a user