pgsql: Fix memory leaks in libpqwalreceiver

Started by Peter Eisentrautover 9 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers