pgsql: Fix memory leaks in failure paths in buildACLCommands and parseA - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix memory leaks in failure paths in buildACLCommands and parseA
Date
Msg-id E1SbD78-0002Ru-Uu@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: pgsql@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL8_4_12 was created
Next
From: karl@pgfoundry.org (User Karl)
Date:
Subject: pgtcl - libpgtcl: Change dbinfo option "pass" to "password".