1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Add PQclear() calls, for completeness (exits shortly anyway).

This commit is contained in:
Bruce Momjian
2006-05-29 19:52:46 +00:00
parent 21e343da35
commit fa54cd0432
6 changed files with 12 additions and 6 deletions

View File

@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/bin/scripts/dropdb.c,v 1.16 2006/03/05 15:58:52 momjian Exp $
* $PostgreSQL: pgsql/src/bin/scripts/dropdb.c,v 1.17 2006/05/29 19:52:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -131,6 +131,7 @@ main(int argc, char *argv[])
exit(1);
}
PQclear(result);
PQfinish(conn);
if (!quiet)
{