pgsql: Fix missing PQclear() in libpqrcv_endstreaming().
pgsql: Fix missing PQclear() in libpqrcv_endstreaming().
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix missing PQclear() in libpqrcv_endstreaming(). This omission leaked one PGresult per WAL streaming cycle, which possibly would never be enough to notice in the real world, but it's still a leak. Per Coverity. Back-patch to 9.3 where the error was introduced. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/734bbf2e978314cad86e1dd8fefe7f0c3f52a4ef Modified Files -------------- src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 1 + 1 file changed, 1 insertion(+)