[COMMITTERS] pgsql: Fix very minor memory leaks in psql's command.c.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Fix very minor memory leaks in psql's command.c.
Дата
Msg-id E1dakR6-0001nH-Bg@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix very minor memory leaks in psql's command.c.

\drds leaked its second pattern argument if any, and \connect leaked
any empty-string or "-" arguments.  These are old bugs, but it's hard
to imagine any real use-case where the leaks could amount to anything
meaningful, so not bothering with a back-patch.

Daniel Gustafsson and Tom Lane

Discussion: https://postgr.es/m/3641F19B-336A-431A-86CE-A80562505C5E@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dc4da3dc84c7c0d1a58275f78f0e3401385e3700

Modified Files
--------------
src/bin/psql/command.c | 8 ++++++++
1 file changed, 8 insertions(+)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: [COMMITTERS] pgsql: Work around Msys weakness in Testlib.pm's command_like()
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Avoid use of sprintf/snprintf in describe.c.