git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 956685f) | patch
Allocate fresh memory for post_opts/exec_path
Wed, 5 Mar 2014 13:50:12 +0000 (08:50 -0500)
Wed, 5 Mar 2014 13:50:12 +0000 (08:50 -0500)
commit dd917bb793b27f8c7616f0e64f9a119e8d98eb24
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.
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /