[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory leak in flex
From: |
John Millaway |
Subject: |
Re: memory leak in flex |
Date: |
Wed, 3 Jul 2002 09:35:39 -0700 (PDT) |
--- Akim Demaille <address@hidden> wrote:
> >>>>> "John" == John Millaway <address@hidden> writes:
>
> John> See
> John> http://mail.gnu.org/pipermail/help-flex/2002-June/000684.html
>
> John> I guess it's time for us to finished the faq or the memory
> John> management api, or both!
>
> For the records, I couldn't find a mean to free (without touching Flex
> internals) the SC stack. I'm referring to 2.5.4a, I confess I have
> not tried the most recent betas. Please flame me if the issue was
> addressed since.
You're correct. There is no documented, exposed api for dealing with this. The
plan is to override yylex_destroy(), which is already part of the reentrant
api. Calling this function from non-reentrant flex will wipe out all malloc'd
resources.
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com