help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Leaks


From: Sean Walton
Subject: Re: Memory Leaks
Date: Mon, 13 Nov 2006 10:17:55 -0700
User-agent: Thunderbird 1.5.0.7 (X11/20060920)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]