Rollback 25ecca7625 - there was no actual use-after-free :)

This commit is contained in:
Vitaliy Filippov
2026-04-22 01:35:38 +03:00
parent 4fffe0f032
commit 008ed5b269
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -83,6 +83,8 @@ void osd_t::finish_op(osd_op_t *cur_op, int retval)
rm_inflight(pg);
}
assert(!cur_op->op_data->subops);
free(cur_op->op_data);
cur_op->op_data = NULL;
}
cur_op->reply.hdr.magic = SECONDARY_OSD_REPLY_MAGIC;
cur_op->reply.hdr.id = cur_op->req.hdr.id;