aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeLockRows.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2014-10-06 11:18:13 -0400
committerStephen Frost <sfrost@snowman.net>2014-10-06 11:18:13 -0400
commit273b29dbe96b1584dd66615cf8dc83e7e6ae7386 (patch)
tree56b9fbac03d1a2d87f02a945bac9046341841270 /src/backend/executor/nodeLockRows.c
parentd9f38c7a555dd5a6b81100c6d1e4aa68342d8771 (diff)
downloadpostgresql-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