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
+1 -4
View File
@@ -8,6 +8,7 @@
osd_op_t::~osd_op_t()
{
assert(!bs_op);
assert(!op_data);
if (bitmap_buf)
{
free(bitmap_buf);
@@ -22,10 +23,6 @@ osd_op_t::~osd_op_t()
// So we don't reuse it, but free it every time
free(buf);
}
if (op_data)
{
free(op_data);
}
}
bool osd_op_t::is_recovery_related()