aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGroup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-09-02 20:37:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-09-02 20:37:55 +0000
commitfbb2b69c8f478c2910a32e25d80eaf67d0dd3cbf (patch)
treeb1533d094abd1c506210616b6b77d50cf8b8c812 /src/backend/executor/nodeGroup.c
parentdd6edd5efd042f7aaaccb7606fb5f477c9dc9888 (diff)
downloadpostgresql-fbb2b69c8f478c2910a32e25d80eaf67d0dd3cbf.tar.gz
postgresql-fbb2b69c8f478c2910a32e25d80eaf67d0dd3cbf.zip
Prevent memory leaks in our various bison parsers when an error occurs
during parsing. Formerly the parser's stack was allocated with malloc and so wouldn't be reclaimed; this patch makes it use palloc instead, so that flushing the current context will reclaim the memory. Per Marko Kreen.
Diffstat (limited to 'src/backend/executor/nodeGroup.c')
0 files changed, 0 insertions, 0 deletions