c: always use YYMALLOC/YYFREE

Reported by Kovalex <kovalex.pro@gmail.com>.
https://lists.gnu.org/r/bug-bison/2020-08/msg00015.html

* data/skeletons/yacc.c: Don't make direct calls to malloc/free.
* tests/calc.at: Check it.
This commit is contained in:
Akim Demaille
2020-08-30 09:45:34 +02:00
parent 067e35a8be
commit a1b7fef045
4 changed files with 12 additions and 2 deletions

3
NEWS
View File

@@ -2,6 +2,9 @@ GNU Bison NEWS
* Noteworthy changes in release ?.? (????-??-??) [?]
** Bug fixes
Push parsers use YYMALLOC/YYFREE instead of direct calls to malloc/free.
* Noteworthy changes in release 3.7.1 (2020-08-02) [stable]