Re: BUG #16273: InitDB Memory leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16273: InitDB Memory leak
Дата
Msg-id 28473.1582440206@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16273: InitDB Memory leak  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> when i read the code  in src/bin/initdb/initdb.c.
> At the function: set_info_version, we use pg_strdup to malloc  memory, but
> we don't free it.

There are lots of minor memory leaks in initdb.  We don't really care
that much, because the program executes over a fixed set of data and
then terminates.

            regards, tom lane



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16273: InitDB Memory leak
Следующее
От: Fan Liu
Дата:
Сообщение: RE: [Bus error] huge_pages default value (try) not fall back