fix memory leak in pgxc_planner
This commit is contained in:
@ -175,6 +175,7 @@ PlannedStmt* pgxc_planner(Query* query, int cursorOptions, ParamListInfo boundPa
|
||||
ReSetNgQueryMem(result);
|
||||
}
|
||||
t_thrd.utils_cxt.CurrentResourceOwner = currentOwner;
|
||||
ResourceOwnerDelete(tempOwner);
|
||||
}
|
||||
PG_CATCH();
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user