pg_amcheck: PQclear query results

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

Author: Jiao Shuntian <312199...@qq.com>
Reviewed-by: Daniel Gustafsson <dan...@yesql.se>
Discussion: 
https://postgr.es/m/tencent_f34922c91c41e76c734773e767c9fbdb9...@qq.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e889422d98e066dcf095fa275fbcb14ffd45708c

Modified Files
--------------
src/bin/pg_amcheck/pg_amcheck.c | 1 +
1 file changed, 1 insertion(+)

Reply via email to