pgsql: Allocate fresh memory for post_opts/exec_path

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Allocate fresh memory for post_opts/exec_path
Дата
Msg-id E1WLCGD-0008GP-5Z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allocate fresh memory for post_opts/exec_path

Instead of having read_post_opts() depend on the memory allocated for
the config file (which is now getting free'd), pg_strdup() for
post_opts and exec_path (similar to how it's being done elsewhere).

Noted by Thom Brown.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dd917bb793b27f8c7616f0e64f9a119e8d98eb24

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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