aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2017-05-06 22:58:22 -0400
committerStephen Frost <sfrost@snowman.net>2017-05-06 22:58:22 -0400
commitef42c1103708cbbb77fff674f339d452a13aac14 (patch)
tree1d0c55ca26043928ad52b8df8fdc3e2805697984 /src/tutorial/advanced.source
parent92b15224b4eac8eeae0616491ccf0c852fa2dff9 (diff)
downloadpostgresql-ef42c1103708cbbb77fff674f339d452a13aac14.tar.gz
postgresql-ef42c1103708cbbb77fff674f339d452a13aac14.zip
pg_dump: Don't leak memory in buildDefaultACLCommands()
buildDefaultACLCommands() didn't destroy the string buffer created in certain cases, leading to a memory leak. Fix by destroying the buffer before returning from the function. Spotted by Coverity. Author: Michael Paquier Back-patch to 9.6 where buildDefaultACLCommands() was added.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions