summaryrefslogtreecommitdiff
path: root/FlexLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'FlexLexer.h')
-rw-r--r--FlexLexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/FlexLexer.h b/FlexLexer.h
index 87636e3..ae8e237 100644
--- a/FlexLexer.h
+++ b/FlexLexer.h
@@ -97,6 +97,7 @@ public:
virtual ~yyFlexLexer()
{
delete yy_state_buf;
+ yy_delete_buffer( yy_current_buffer );
}
void yy_switch_to_buffer( struct yy_buffer_state* new_buffer );