aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-04-17 10:45:08 +0900
committerMichael Paquier <michael@paquier.xyz>2020-04-17 10:45:08 +0900
commit198efe774b0d2065d828cf7822376a2871c671fc (patch)
tree3fdd3b3e95b7d0402211b0c773dd29509ed06783 /src/backend/executor/nodeModifyTable.c
parent5b736e9cf95793ca6a4c00d291a06dfe3559c8ec (diff)
downloadpostgresql-198efe774b0d2065d828cf7822376a2871c671fc.tar.gz
postgresql-198efe774b0d2065d828cf7822376a2871c671fc.zip
Fix minor memory leak in pg_basebackup and pg_receivewal
The result of the query used to retrieve the WAL segment size from the backend was not getting freed in two code paths. Both pg_basebackup and pg_receivewal exit immediately if a failure happened on this query, so this was not an actual problem, but it could be an issue if this code gets used for other tools in different ways, be they future tools in this code tree or external, existing, ones. Oversight in commit fc49e24, so backpatch down to 11. Author: Jie Zhang Discussion: https://postgr.es/m/970ad9508461469b9450b64027842331@G08CNEXMBPEKD06.g08.fujitsu.local Backpatch-through: 11
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions