bison-patches
[Top][All Lists]
Advanced

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

Re: Bison bugs (memory leaks) found by valgrind in GLR-related tests


From: Joel E. Denny
Subject: Re: Bison bugs (memory leaks) found by valgrind in GLR-related tests
Date: Tue, 20 Dec 2005 13:41:04 -0500 (EST)

On Fri, 16 Dec 2005, Joel E. Denny wrote:

> Here's an attempt to fix these test cases. Someone should run valgrind to 
> be sure the problem is completely solved. (I still need to set up a linux 
> box.)
> 
> Joel
> 
> 2005-12-16  Joel E. Denny  <address@hidden>
> 
>       * tests/cxx-type.at: Construct a tree, count the parents of shared
>       nodes, and free each node once and only once.  Previously, the memory
>       for semantic values was leaked instead.

I just noticed that I forgot to cast the return of malloc() for the sake 
of C++.  I should probably fix this and repost.  Before I do, did anyone 
have a chance to run valgrind?

Joel




reply via email to

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