Fix memory leaks in pg_rewind. Several PQclear() calls were missing.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: d7fd22a38ff48372c6813983317fc8d1e07fcf87
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-07-27T17:38:44Z
Releases: 9.6.0
Fix memory leaks in pg_rewind. Several PQclear() calls were missing.

Originally reported by Vladimir Borodin in the pg_rewind github project,
patch by Michael Paquier.

Files

PathChange+/−
src/bin/pg_rewind/libpq_fetch.c modified +5 −0