]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp.c: Fix memory leak on parse errors.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 10 Mar 2022 21:14:01 +0000 (22:14 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 12 Mar 2022 15:47:08 +0000 (16:47 +0100)
commit30e977fe4a01c7c080527f447e3968e524212239
tree0adc0680399ba200cc6724486bfb26ac59c8d298
parent2c2d3a6ec34d983cb698b245facb8d6240aec1b3
mp.c: Fix memory leak on parse errors.

When mp_yyparse() fails we miss to free the abstract syntax tree.

Found by valgrind.
mp.c