]> git.saurik.com Git - bison.git/commit
Fix push parsing memory leak reported by Brandon Lucia at
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 28 Jul 2007 04:27:32 +0000 (04:27 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 28 Jul 2007 04:27:32 +0000 (04:27 +0000)
commiteb1b07409f0ccad9970c8a60ded9f2a56d205b9c
treef4a993c6b67a3409551e690e24acea54cccfe86c
parent9d774affbae6fe069f68ea20ec0401dda019e6b6
Fix push parsing memory leak reported by Brandon Lucia at
<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00032.html>.
* THANKS: Add Brandon Lucia.
* data/push.c (yypstate_delete): Free the stack if it was reallocated
but the parse never completed and thus freed it.
* tests/Makefile.am (TESTSUITE_AT): Add push.at.
* tests/testsuite.at: Include push.at.
* test/push.at: New.
(Push Parsing: Memory Leak for Early Deletion): New test case.
ChangeLog
THANKS
data/push.c
tests/Makefile.am
tests/push.at [new file with mode: 0644]
tests/testsuite.at