deal with datahub memory leak

This commit is contained in:
raywill 2021-08-30 14:33:43 +08:00 committed by wangzelin.wzl
parent 4efdd91835
commit e8e87dfc14

View File

@ -52,7 +52,9 @@ public:
{}
~ObWinbufPieceMsg() = default;
void reset()
{}
{
deseria_allocator_.reset();
}
INHERIT_TO_STRING_KV("meta", ObDatahubPieceMsg<dtl::ObDtlMsgType::DH_WINBUF_PIECE_MSG>, K_(op_id));
public:
@ -89,6 +91,7 @@ public:
is_datum_ = false;
row_store_.reset();
datum_store_.reset();
assign_allocator_.reset();
}
VIRTUAL_TO_STRING_KV(K_(ready_state));
int ready_state_;