diff options
author | Stephen Frost <sfrost@snowman.net> | 2014-01-24 15:10:08 -0500 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2014-01-24 15:10:08 -0500 |
commit | 6794a9f9a194e24862e60a918eac031b7641686c (patch) | |
tree | cdc02da5bf1ba3dcd0a5c1739910666fc299d318 /src/backend/utils/adt/float.c | |
parent | d150ff57812ae01a2f78a55f33a46f9b7febf933 (diff) | |
download | postgresql-6794a9f9a194e24862e60a918eac031b7641686c.tar.gz postgresql-6794a9f9a194e24862e60a918eac031b7641686c.zip |
Avoid minor leak in parallel pg_dump
During parallel pg_dump, a worker process closing the connection caused
a minor memory leak (particularly minor as we are likely about to exit
anyway). Instead, free the memory in this case prior to returning NULL
to indicate connection closed.
Spotting by the Coverity scanner.
Back patch to 9.3 where this was introduced.
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions