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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4ef64c425dbcda151c9f163aadff982343808e09
Modified Files
--------------
src/bin/pg_basebackup/receivelog.c | 6 ++++++
src/bin/pg_basebackup/walmethods.c | 7 +++++++
src/bin/pg_basebackup/walmethods.h | 4 ++--
3 files changed, 15 insertions(+), 2 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.