Skip to content

Commit 55ee42b

Browse files
author
Masahiko Sakamoto
committed
Added missing PQclear().
reported by josh.
1 parent 5e48cf0 commit 55ee42b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/pg_reorg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ reorg_one_table(const reorg_table *table, const char *orderby)
427427
(errcode(E_PG_COMMAND),
428428
errmsg("trigger %s conflicted for %s",
429429
PQgetvalue(res, 0, 0), table->target_name)));
430+
PQclear(res);
430431

431432
command(table->create_pktype, 0, NULL);
432433
command(table->create_log, 0, NULL);

0 commit comments

Comments
 (0)