From fa54cd043248b91d9363ab548e737217f6271198 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 29 May 2006 19:52:46 +0000 Subject: Add PQclear() calls, for completeness (exits shortly anyway). --- src/bin/scripts/createuser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bin/scripts/createuser.c') diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index e4afdfb40ba..bf618eea186 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -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/createuser.c,v 1.29 2006/05/28 21:13:54 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.30 2006/05/29 19:52:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -302,6 +302,7 @@ main(int argc, char *argv[]) exit(1); } + PQclear(result); PQfinish(conn); if (!quiet) { -- cgit v1.2.3