avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AVRO-117) plug mem leak from flex parser for C++
Date Wed, 23 Sep 2009 22:41:16 GMT

     [ https://issues.apache.org/jira/browse/AVRO-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Doug Cutting resolved AVRO-117.

       Resolution: Fixed
    Fix Version/s: 1.2.0

> plug mem leak from flex parser for C++
> --------------------------------------
>                 Key: AVRO-117
>                 URL: https://issues.apache.org/jira/browse/AVRO-117
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Scott Banachowski
>            Assignee: Scott Banachowski
>             Fix For: 1.2.0
>         Attachments: AVRO-117.patch
> Valgrind reports a leak coming from the flex parser generated code.
> The flex-generated lexer allocates memory to use for its state stack.  Examining this
code it is clear that once allocated, the stack is never freed.  Since I cannot easily replace
flex code, I inserted the code to free the stack as a lexer rule.  
> Valgrind is happy with the result.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message