Free op->bs_op manually

This commit is contained in:
Vitaliy Filippov
2020-05-25 15:31:22 +03:00
parent 79bf57b6e2
commit 256a7f2667
5 changed files with 19 additions and 6 deletions
+2
View File
@@ -166,6 +166,8 @@ void osd_t::submit_flush_op(pg_num_t pg_num, pg_flush_batch_t *fb, bool rollback
{
add_bs_subop_stats(op);
handle_flush_op(bs_op->opcode == BS_OP_ROLLBACK, pg_num, fb, this->osd_num, bs_op->retval);
delete op->bs_op;
op->bs_op = NULL;
delete op;
},
.len = (uint32_t)count,