[CP] fix memory leak
This commit is contained in:
parent
38717064ee
commit
fe0de4b0d5
@ -1624,6 +1624,12 @@ int ObTransformSubqueryCoalesce::coalesce_update_assignment(ObDMLStmt *stmt, boo
|
||||
LOG_WARN("failed to adjust subquery list", K(ret));
|
||||
}
|
||||
}
|
||||
for (int64_t i = 0; i < coalesce_infos.count(); i++) {
|
||||
if (coalesce_infos.at(i) != NULL) {
|
||||
coalesce_infos.at(i)->~StmtCompareHelper();
|
||||
coalesce_infos.at(i) = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user