pgsql: Fix missing PQclear() in libpqrcv_endstreaming().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix missing PQclear() in libpqrcv_endstreaming().
Дата
Msg-id E1YLhWe-0002X5-GW@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix missing PQclear() in libpqrcv_endstreaming().
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix typo in logicaldecoding.sgml.