]> granicus.if.org Git - postgresql/commit
Code review for recent changes in guc-file.l. Avoid multiple frees,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Aug 2004 22:43:58 +0000 (22:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Aug 2004 22:43:58 +0000 (22:43 +0000)
commit1239a01a7248041df36893bbae6f7fff58c175a6
tree518fceb89bf71b799fd47944d600caed92380718
parentc32416ebb748f9cc6ad4c0d3383d8593f151fa60
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.
src/backend/utils/misc/guc-file.l
src/backend/utils/misc/guc.c