forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita8f87d5
committed
Fix query result leak during binary upgrade
9a974cb moved the query in binary_upgrade_set_pg_class_oids to theouter level, but left the PQclear and query buffer destruction in theis_index conditional.353708e fixed the leak of the query bufferbut left the PGresult leak. This moves clearing the result to the outerlevel ensuring that it will be called.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/374550C1-F4ED-4D9D-9498-0FD029CCF674@yesql.seBackpatch-through: v151 parent98b4f53 commita8f87d5
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5479 | 5479 |
| |
5480 | 5480 |
| |
5481 | 5481 |
| |
5482 |
| - | |
5483 |
| - | |
5484 | 5482 |
| |
5485 | 5483 |
| |
5486 | 5484 |
| |
| |||
5493 | 5491 |
| |
5494 | 5492 |
| |
5495 | 5493 |
| |
| 5494 | + | |
| 5495 | + | |
5496 | 5496 |
| |
5497 | 5497 |
| |
5498 | 5498 |
| |
|
0 commit comments
Comments
(0)