- Notifications
You must be signed in to change notification settings - Fork5
Commit0398ece
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 parent2c0a485 commit0398ece
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 |
| |
85 | 88 |
| |
86 | 89 |
| |
|
0 commit comments
Comments
(0)