Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3ed26e5

Browse files
committed
For consistency add a pfree to ON CONFLICT set_plan_refs code.
Backpatch to 9.5 where ON CONFLICT was introduced. Author: Peter Geoghegan
1 parent ff27db5 commit 3ed26e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/optimizer/plan/setrefs.c

+2
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ set_plan_refs(PlannerInfo *root, Plan *plan, int rtoffset)
776776
linitial_int(splan->resultRelations),
777777
rtoffset);
778778

779+
pfree(itlist);
780+
779781
splan->exclRelTlist =
780782
fix_scan_list(root, splan->exclRelTlist, rtoffset);
781783
}

0 commit comments

Comments
 (0)