pgsql: Fix memory leak in pg_restore with zstd-compressed data.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix memory leak in pg_restore with zstd-compressed data.
Дата
Msg-id E1tNkmu-0008IB-SP@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix memory leak in pg_restore with zstd-compressed data.

EndCompressorZstd() neglected to free everything.  This was
most visible with a lot of large objects in the dump.

Per report from Tomasz Szypowski.  Back-patch to v16
where this code came in.

Discussion: https://postgr.es/m/DU0PR04MB94193D038A128EF989F922D199042@DU0PR04MB9419.eurprd04.prod.outlook.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8cfff087b55f6688e2f3b5f1ba303dc5fb8222c6

Modified Files
--------------
src/bin/pg_dump/compress_zstd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления: