修复统计、布尔表达式运算、单元测试模块中的内存泄漏。
This commit is contained in:
@@ -252,6 +252,7 @@ void boolexpr_destroy(void * instance)
|
||||
for(unsigned int i=0; i<matcher->max_thread_num; i++)
|
||||
{
|
||||
delete [] matcher->thread_data[i].bitmap;
|
||||
delete [] matcher->thread_data[i].matched_bitmap;
|
||||
}
|
||||
delete [] matcher->thread_data;
|
||||
delete matcher;
|
||||
|
||||
Reference in New Issue
Block a user