Commit 667e7139 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-26826 fixup: clang++-13 -Wfree-nonheap-object

parent 576afcea
......@@ -3263,7 +3263,7 @@ static buf_block_t* buf_page_create_low(page_id_t page_id, ulint zip_size,
free_block->page.set_state(BUF_BLOCK_FILE_PAGE);
buf_unzip_LRU_add_block(free_block, FALSE);
hash_lock.unlock();
buf_page_free_descriptor(&block->page);
buf_page_free_descriptor(reinterpret_cast<buf_page_t*>(block));
block= free_block;
buf_block_buf_fix_inc(block);
mtr_memo_push(mtr, block, MTR_MEMO_PAGE_X_FIX);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment