diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-02 20:37:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-02 20:37:55 +0000 |
commit | fbb2b69c8f478c2910a32e25d80eaf67d0dd3cbf (patch) | |
tree | b1533d094abd1c506210616b6b77d50cf8b8c812 /src/backend/executor/nodeGroup.c | |
parent | dd6edd5efd042f7aaaccb7606fb5f477c9dc9888 (diff) | |
download | postgresql-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