Properly close files after read file failure to prevent potential
Bruce Momjian <bruce@momjian.us>
Properly close files after read file failure to prevent potential resource leak. Of course, any such failure aborts pg_upgrade, but might as well be clean about it. Per patch from Grzegorz Ja?kiewicz.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/file.c | modified | +3 −0 |
| contrib/pg_upgrade/page.c | modified | +3 −0 |