Thread: pgsql: In passwordFromFile, don't leak the open file after stat failure

pgsql: In passwordFromFile, don't leak the open file after stat failure

From
Tom Lane
Date:
In passwordFromFile, don't leak the open file after stat failures.

Oversight in e882bcae0.  Per Coverity.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e9339782a631eeef01281bc7e1633dd6b970106e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 5 +++++
1 file changed, 5 insertions(+)