Fix issues with pg_ctl
The new, small, free_readfile managed to have bug in it which could
cause it to try and free something it shouldn't, and fix the case
where it was being called with an invalid pointer leading to a
segfault.
Noted by Bruce, issues introduced and fixed by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/eb933162cdcbcaa5c56c75eb21b9c055af9748a0
Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)