BUG #16321: Memory leaks in PostmasterMain

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16321: Memory leaks in PostmasterMain
Дата
Msg-id 16321-c12957af6e8c231c@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #16321: Memory leaks in PostmasterMain  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16321
Logged by:          Hugh Wang
Email address:      hghwng@gmail.com
PostgreSQL version: 12.2
Operating system:   Linux
Description:

The argument parsing duplicates strings, but never frees them.

For example, when you pass "-D $DATA_DIR" to postmaster, postmaster
duplicates the string here:
https://github.com/postgres/postgres/blob/master/src/backend/postmaster/postmaster.c#L698

The duplicated string is passed to `SelectConfigFiles`, which does
everything except freeing the string.


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

Предыдущее
От: Fahar Abbas
Дата:
Сообщение: Re: BUG #16320: GSSAPI Error
Следующее
От: Fan Liu
Дата:
Сообщение: RE: why wal_max_size does not work?