forked from huawei/openGauss-server
Revert "fix memory leak in pgxc_planner"
This reverts commit e50da3586d.
This commit is contained in:
parent
08f2a403fa
commit
a8e142f0cb
|
|
@ -176,7 +176,6 @@ PlannedStmt* pgxc_planner(Query* query, int cursorOptions, ParamListInfo boundPa
|
|||
}
|
||||
/* release resource applied in standard_planner */
|
||||
t_thrd.utils_cxt.CurrentResourceOwner = currentOwner;
|
||||
ResourceOwnerDelete(tempOwner);
|
||||
}
|
||||
PG_CATCH();
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue