Code review for recent changes in guc-file.l. Avoid multiple frees,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1239a01a7248041df36893bbae6f7fff58c175a6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-31T22:43:58Z
Releases: 8.0.0
Code review for recent changes in guc-file.l.  Avoid multiple frees,
use of already-freed strings, other silliness.  Also fix reporting of
config file syntax errors so that it actually works reasonably well
(eg, points at the correct line).  Use palloc instead of malloc for
temporary storage to reduce code clutter.

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +10 −4
src/backend/utils/misc/guc-file.l modified +112 −143