pg_amcheck: PQclear query results
authorDaniel Gustafsson
Mon, 24 Feb 2025 15:03:19 +0000 (16:03 +0100)
committerDaniel Gustafsson
Mon, 24 Feb 2025 15:03:19 +0000 (16:03 +0100)
commite889422d98e066dcf095fa275fbcb14ffd45708c
tree1216f911c6271590672b70611de61c9d210f390f
parent5ee75e32fa734e8ae85ff096f1523be8e16e1b8d
pg_amcheck: PQclear query results

While the potential memory leak is small, ensure to PQclear the query
results before disconnecting.

Author: Jiao Shuntian <312199339@qq.com>
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/[email protected]
src/bin/pg_amcheck/pg_amcheck.c