[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: |
Tue, 2 Jul 2002 12:25:56 -0700 (PDT) |
> i have built a very simple scanner with flex, and it works just fine!
> the only problem is that it produces 16k+40 bytes of memory leaks that
> are allocated in yy_create_buffer. i can trace the program and it never
> calls the corresponding yy_delete_buffer on yy_current_buffer. if i
> modify the resulting code to do so in the EOB_ACT_END_OF_FILE,
> everything works fine. what am i doing wrong? how can i make flex
> release the buffer?
See http://mail.gnu.org/pipermail/help-flex/2002-June/000684.html
I guess it's time for us to finished the faq or the memory management api, or
both!
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com