]> 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:17 +0000 (11:14 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 26 Jul 2021 02:14:17 +0000 (11:14 +0900)
commit9c6fa3403ecdb856fd61c26bb11c5e6564973323
tree87b88f5da4bbd6898ba894efca9af2b04d058f10
parent9c83398f8743181ed6e877bbb35bcfafc1cb82b2
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