mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Add missing PQfinish() calls
Fujii Masao
This commit is contained in:
parent
72155b29a8
commit
77f93cb32d
@ -167,6 +167,7 @@ GetConnection(void)
|
||||
{
|
||||
fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"),
|
||||
progname);
|
||||
PQfinish(tmpconn);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -178,6 +179,7 @@ GetConnection(void)
|
||||
{
|
||||
fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"),
|
||||
progname);
|
||||
PQfinish(tmpconn);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user