pg_dump: fix memory leak

Поиск
Список
Период
Сортировка
От m.korotkov@postgrespro.ru
Тема pg_dump: fix memory leak
Дата
Msg-id 8b73c4804ee5b8f1cf4fed16635e2d1b@postgrespro.ru
обсуждение исходный текст
Ответы Re: pg_dump: fix memory leak
Список pgsql-hackers
Hi all,
I have found a potential memory leak in src/bin/pg_dump/dumputils.c in 
the function generate_restrict_key().
Memory is allocated to the ret pointer if pg_strong_random returns 
false, and this leads to a memory leak.
I have replaced the allocation to avoid this leak.
---
Best regards, Korotkov Maksim
PostgresPro
m.korotkov@postgrespro.ru
Вложения

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