From 55ee42bebf6270625a6b5345d23699f34bdda9c8 Mon Sep 17 00:00:00 2001 From: Masahiko Sakamoto Date: Thu, 20 Sep 2012 07:17:26 +0000 Subject: [PATCH] Added missing PQclear(). reported by josh. --- bin/pg_reorg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pg_reorg.c b/bin/pg_reorg.c index afd9bba..b046654 100755 --- a/bin/pg_reorg.c +++ b/bin/pg_reorg.c @@ -427,6 +427,7 @@ reorg_one_table(const reorg_table *table, const char *orderby) (errcode(E_PG_COMMAND), errmsg("trigger %s conflicted for %s", PQgetvalue(res, 0, 0), table->target_name))); + PQclear(res); command(table->create_pktype, 0, NULL); command(table->create_log, 0, NULL);