help-flex
[Top][All Lists]
Advanced

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

memory leak in flex


From: Robert Lemmen
Subject: memory leak in flex
Date: Tue, 2 Jul 2002 20:03:13 +0200
User-agent: Mutt/1.3.28i

hi folks,

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?

thanks
robert



reply via email to

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