[CP] to issue<53963421>:fix pltemp mod memory leak when report 4013

This commit is contained in:
hanr881
2024-04-10 09:45:25 +00:00
committed by ob-robot
parent 58230ae8db
commit 6a13cb1f82
3 changed files with 26 additions and 10 deletions

View File

@ -6528,9 +6528,9 @@ int ObSPIService::spi_destruct_obj(ObPLExecCtx *ctx,
obj->is_pl_extend() &&
obj->get_meta().get_extend_type() != pl::PL_REF_CURSOR_TYPE) {
OZ (ObUserDefinedType::destruct_obj(*obj, ctx->exec_ctx_->get_my_session()));
OX (obj->set_null());
}
SET_SPI_STATUS;
return ret;
}