fix memory leak in ObVTableScanParam
This commit is contained in:
@ -224,15 +224,9 @@ ObVTableScanParam() :
|
|||||||
|
|
||||||
void destroy()
|
void destroy()
|
||||||
{
|
{
|
||||||
if (OB_UNLIKELY(column_ids_.get_capacity() > OB_PREALLOCATED_COL_ID_NUM)) {
|
|
||||||
column_ids_.destroy();
|
column_ids_.destroy();
|
||||||
}
|
|
||||||
if (OB_UNLIKELY(key_ranges_.get_capacity() > OB_DEFAULT_RANGE_COUNT)) {
|
|
||||||
key_ranges_.destroy();
|
key_ranges_.destroy();
|
||||||
}
|
|
||||||
if (OB_UNLIKELY(range_array_pos_.get_capacity() > OB_DEFAULT_RANGE_COUNT)) {
|
|
||||||
range_array_pos_.destroy();
|
range_array_pos_.destroy();
|
||||||
}
|
|
||||||
destroy_schema_guard();
|
destroy_schema_guard();
|
||||||
}
|
}
|
||||||
ObObjectID tenant_id_;
|
ObObjectID tenant_id_;
|
||||||
|
|||||||
Reference in New Issue
Block a user