From adc5c71a50bb42a3c860c2d615372fe18311cd16 Mon Sep 17 00:00:00 2001 From: renju96 Date: Fri, 8 Dec 2023 03:12:40 +0000 Subject: [PATCH] [bugfix]io_buf must free after handle.reset() --- .../blocksstable/index_block/ob_index_block_tree_cursor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/blocksstable/index_block/ob_index_block_tree_cursor.cpp b/src/storage/blocksstable/index_block/ob_index_block_tree_cursor.cpp index 8450323b9..1e5cc817c 100644 --- a/src/storage/blocksstable/index_block/ob_index_block_tree_cursor.cpp +++ b/src/storage/blocksstable/index_block/ob_index_block_tree_cursor.cpp @@ -1174,6 +1174,8 @@ int ObIndexBlockTreeCursor::load_micro_block_data(const MacroBlockId ¯o_bloc } } } + macro_handle.reset(); + io_allocator.reset(); return ret; }