Re: Memory leak in flex generated file

haberg@math.su.se (Hans Aberg)
27 Oct 2005 02:13:00 -0400

          From comp.compilers

Related articles
Memory leak in flex generated file pavel.orehov@gmail.com (pavel.orehov@gmail.com) (2005-10-20)
Re: Memory leak in flex generated file haberg@math.su.se (2005-10-23)
Re: Memory leak in flex generated file gneuner2@comcast.net (George Neuner) (2005-10-23)
Re: Memory leak in flex generated file johnmillaway@yahoo.com (John Millaway) (2005-10-26)
Re: Memory leak in flex generated file Markus.Elfring@web.de (2005-10-26)
Re: Memory leak in flex generated file haberg@math.su.se (2005-10-27)
Re: Memory leak in flex generated file haberg@math.su.se (2005-10-27)
Re: Memory leak in flex generated file johnmillaway@yahoo.com (John Millaway) (2005-10-27)
Re: Memory leak in flex generated file johnmillaway@yahoo.com (John Millaway) (2005-10-29)
Memory leak in flex generated file pierreir@look.ca (Pierre Innocent) (2007-08-20)
Re: Memory leak in flex generated file jnvolkov@gmail.com (commander) (2007-08-21)
| List of all articles for this month |
From: haberg@math.su.se (Hans Aberg)
Newsgroups: comp.compilers
Date: 27 Oct 2005 02:13:00 -0400
Organization: Mathematics
References: 05-10-140 05-10-161
Keywords: lex
Posted-Date: 27 Oct 2005 02:13:00 EDT

John Millaway <johnmillaway@yahoo.com> wrote:


> > I am using flex and bison to parse HTTP headers. After some
> > investigation i found a memory leak in flex generated file with
> > valgrind tool.


> Hi, This was fixed years ago. The last work done on Flex can be found at
> http://lex.sourceforge.net/ -John


I think that the latest Flex version will still leak the character buffer
it allocates.


--
    Hans Aberg


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.