]> granicus.if.org Git - postgresql/commit
Fix memory leaks in failure paths in buildACLCommands and parseAclItem.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jun 2012 15:52:52 +0000 (11:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Jun 2012 15:52:52 +0000 (11:52 -0400)
commitd73b7f973db5ec7e44813141741d3e0d318eef69
treed7fb266a9def3bd7d883fdfe81758e0f1d2507c1
parent8fcbfea7885f53b5a16610f7f03c276df49ef3d4
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
src/bin/pg_dump/dumputils.c