aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2004-06-14 11:00:12 +0000
committerTatsuo Ishii <ishii@postgresql.org>2004-06-14 11:00:12 +0000
commit2990b8a4a60a61e16097f7d219e66ffd8ca989eb (patch)
tree0da67f3b0217ff07f2b6f9d8b894c34ddd3d0672
parentdd83b34d382e2bdf33a65cf7d2d82d86b76a1139 (diff)
downloadpostgresql-2990b8a4a60a61e16097f7d219e66ffd8ca989eb.tar.gz
postgresql-2990b8a4a60a61e16097f7d219e66ffd8ca989eb.zip
Add missing PQclear().
-rw-r--r--contrib/pgbench/pgbench.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index ae06dde2ee6..8fc8273cc8f 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1,10 +1,10 @@
/*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.30 2003/12/07 19:55:58 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.31 2004/06/14 11:00:12 ishii Exp $
*
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2000-2003 Tatsuo Ishii
+ * Copyright (c) 2000-2004 Tatsuo Ishii
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
@@ -552,7 +552,7 @@ init(void)
fprintf(stderr, "%s", PQerrorMessage(con));
exit(1);
}
-
+ PQclear(res);
/*
* occupy accounts table with some data