Add missing PQfinish() calls

Fujii Masao
This commit is contained in:
Magnus Hagander 2012-05-23 21:52:23 +02:00
parent 72155b29a8
commit 77f93cb32d
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}