aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-11 18:35:23 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-11 18:35:23 -0500
commitee8d3778311e08d810f79c97f90ffb678063a59f (patch)
tree6cf2e0e564244cf3654f5de3256245a6aa5dfd31 /src/tutorial/syscat.source
parent66c4ea8cb6e8d282111783326e5c9bec330bf4e2 (diff)
downloadpostgresql-ee8d3778311e08d810f79c97f90ffb678063a59f.tar.gz
postgresql-ee8d3778311e08d810f79c97f90ffb678063a59f.zip
Fix more memory leaks in failure path in buildACLCommands.
We already had one go at this issue in commit d73b7f973db5ec7e, but we failed to notice that buildACLCommands also leaked several PQExpBuffers along with a simply malloc'd string. This time let's try to make the fix a bit more future-proof by eliminating the separate exit path. It's still not exactly critical because pg_dump will curl up and die on failure; but since the amount of the potential leak is now several KB, it seems worth back-patching as far as 9.2 where the previous fix landed. Per Coverity, which evidently is smarter than clang's static analyzer.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions