forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4060db
committed
Fix inconsequential fd leak in the new mark_file_as_archived() function.
As every error in mark_file_as_archived() will lead to a failure ofpg_basebackup the FD leak couldn't ever lead to a real problem. Itseems better to fix the leak anyway though, rather than silenceCoverity, as the usage of the function might get extended or copied atsome point in the future.Pointed out by Coverity.Backpatch to 9.2, like the relevant part of the previous patch.1 parentf961ad4 commitf4060db
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 |
| |
69 | 72 |
| |
70 | 73 |
| |
|
0 commit comments
Comments
(0)