diff options
author | Stephen Frost <sfrost@snowman.net> | 2014-10-06 11:18:13 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2014-10-06 11:18:13 -0400 |
commit | 273b29dbe96b1584dd66615cf8dc83e7e6ae7386 (patch) | |
tree | 56b9fbac03d1a2d87f02a945bac9046341841270 /src/backend/executor/nodeLockRows.c | |
parent | d9f38c7a555dd5a6b81100c6d1e4aa68342d8771 (diff) | |
download | postgresql-273b29dbe96b1584dd66615cf8dc83e7e6ae7386.tar.gz postgresql-273b29dbe96b1584dd66615cf8dc83e7e6ae7386.zip |
Clean up Create/DropReplicationSlot query buffer
CreateReplicationSlot() and DropReplicationSlot() were not cleaning up
the query buffer in some cases (mostly error conditions) which meant a
small leak. Not generally an issue as the error case would result in an
immediate exit, but not difficult to fix either and reduces the number
of false positives from code analyzers.
In passing, also add appropriate PQclear() calls to RunIdentifySystem().
Pointed out by Coverity.
Diffstat (limited to 'src/backend/executor/nodeLockRows.c')
0 files changed, 0 insertions, 0 deletions