Plug minor memleak in pg_dump

Поиск
Список
Период
Сортировка
От gkokolatos@pm.me
Тема Plug minor memleak in pg_dump
Дата
Msg-id oZwKiUxFsVaetG2xOJp7Hwao8F1AKIdfFDQLNJrnwoaxmjyB-45r_aYmhgXHKLcMI3GT24m9L6HafSi2ns7WFxXe0mw2_tIJpD-Z3vb_eyI=@pm.me
обсуждение исходный текст
Ответы Re: Plug minor memleak in pg_dump
Список pgsql-hackers
Hi,

I noticed a minor memleak in pg_dump. ReadStr() returns a malloc'ed pointer which
should then be freed. While reading the Table of Contents, it was called as an argument
within a function call, leading to a memleak.

Please accept the attached as a proposed fix.

Cheers,
//Georgios
Вложения

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