help-bison
[Top][All Lists]
Advanced

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

memory leaks


From: hz kto
Subject: memory leaks
Date: Tue, 07 Jun 2005 05:28:31 +0400


Hi, all,

in my parser, when a syntax error happens, all allocated parse tree 
nodes are left dangling, and not freed. Does anybody try and clean up 
allocated memory after parser error?
Even though it is not critical, since program terminates anyway, I'd like
to have no leaks in any case, so that leaks from the parser don't mask
leaks that happen during successful execution.
What's a good way to go about this?

thanks in advance

Alex




reply via email to

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