Paulo J. Matos wrote:
Hi all,

I've generated a parser with bison and I tried running valgrind on it.
The wierd thing is... there's a huge bunch of memory leaks reported.
:-(

Is this known? Is this a bison leak or a valgrind bug?

Regards,

If you are using malloc() in your semantic actions, you will witness memory leaks unless you are *very* careful to release them. I was given this warning as I have gone in and started modifying someone else's work.
-Sean


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to