]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix a couple of memory leaks in src/bin/pg_basebackup/
authorMichael Paquier <michael@paquier.xyz>
Mon, 26 Jul 2021 02:14:11 +0000 (11:14 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 26 Jul 2021 02:14:11 +0000 (11:14 +0900)
commit2c7395aad7e849235faac4ead5f69700cfd3c21b
treeec1d932ba656e0a3ec602e0c9e819821f5472f4d
parent2b8f3f5a7c0ede24903782fcffe2553fec01bfbe
Fix a couple of memory leaks in src/bin/pg_basebackup/

These have been introduced by 7fbe0c8, and could happen for
pg_basebackup and pg_receivewal.

Per report from Coverity for the ones in walmethods.c, I have spotted
the ones in receivelog.c after more review.

Backpatch-through: 10
src/bin/pg_basebackup/receivelog.c
src/bin/pg_basebackup/walmethods.c
src/bin/pg_basebackup/walmethods.h