]> granicus.if.org Git - postgresql/commit
Fix memory leaks in libpqwalreceiver
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 23 Jan 2017 16:06:30 +0000 (11:06 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 23 Jan 2017 16:06:30 +0000 (11:06 -0500)
commit16a61884b5956778cae64a5746f4cdd9ae1ae01b
treea85ed97b2f7d5d5f24e10f2ffe30b8aea027cde8
parent7e26e02eec90370dd222f35f00042f8188488ac4
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.
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c