]> git.saurik.com Git - bison.git/commit - ChangeLog-2012
* data/push.c (yypushparse): Fix memory leak if yymsg is malloced
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 16:35:34 +0000 (16:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Oct 2006 16:35:34 +0000 (16:35 +0000)
commit96a1981a778d4c72d6fc2f6e9f6be6ce2f6e9fd6
tree8321f9427a6b3f2a1332da6a7bbd1537da22a0b7
parentc1630a8b805234e4c5687883b64b161bb2f36cb7
* data/push.c (yypushparse): Fix memory leak if yymsg is malloced
in a push parser.  Reindent slightly to match yacc.c better.

2006-10-11  Bob Rossi  <bob@brasko.net>

        * data/push.c (struct yypvars): Remove yymsgbuf, yymsgbuf_ptr, yymsg,
        yymsg_alloc fields.
        (yypvarsinit, yypushparse): Remove init of removed fields.
        (yypushparse): Use yymsgbuf instead of yymsgbuf_ptr.
ChangeLog
data/push.c