Fix memory leaks in libpqwalreceiver
The results of the libpq functions PQescapeIdentifier() and
PQescapeLiteral() must be freed explicitly. Also handle errors in these
functions better.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/16a61884b5956778cae64a5746f4cdd9ae1ae01b
Modified Files
--------------
.../libpqwalreceiver/libpqwalreceiver.c | 32 ++++++++++++++++++----
1 file changed, 26 insertions(+), 6 deletions(-)