Revert "fix memory leak in pgxc_planner"

This reverts commit e50da3586d.
This commit is contained in:
yanghao 2021-04-14 10:26:56 +08:00 committed by zhaowenhao
parent 08f2a403fa
commit a8e142f0cb
1 changed files with 0 additions and 1 deletions

View File

@ -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();
{