pgsql: Fix memory leaks in failure paths in buildACLCommands and parseA

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix memory leaks in failure paths in buildACLCommands and parseA
Дата
Msg-id E1SbD78-0002Ru-Uu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix memory leaks in failure paths in buildACLCommands and parseAclItem.

This is currently only cosmetic, since all the call sites just curl up
and die in event of a failure return.  It might be important for some
future use-case, though, and in any case it quiets warnings from the
clang static analyzer (as reported by Anna Zaks).

Josh Kupershmidt

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d73b7f973db5ec7e44813141741d3e0d318eef69

Modified Files
--------------
src/bin/pg_dump/dumputils.c |    9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)


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

Предыдущее
От: pgsql@postgresql.org
Дата:
Сообщение: pgsql: Tag refs/tags/REL8_4_12 was created
Следующее
От: karl@pgfoundry.org (User Karl)
Дата:
Сообщение: pgtcl - libpgtcl: Change dbinfo option "pass" to "password".