From: Vern Paxson Date: Fri, 13 Dec 1996 11:22:23 +0000 (+0000) Subject: use delete [] for yy_state_buf X-Git-Tag: flex-2-5-5b~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=507319e5695932ec442895dabfb9d18a9fc20e33;p=flex use delete [] for yy_state_buf --- diff --git a/flex.skl b/flex.skl index ebe0c6f..0cb566c 100644 --- a/flex.skl +++ b/flex.skl @@ -677,7 +677,7 @@ yyFlexLexer::yyFlexLexer( istream* arg_yyin, ostream* arg_yyout ) yyFlexLexer::~yyFlexLexer() { - delete yy_state_buf; + delete [] yy_state_buf; yy_delete_buffer( yy_current_buffer ); }