修复文件乱序到达处理过程中没有关闭文件句柄的bug。

This commit is contained in:
zhengchao
2017-09-30 14:14:29 +08:00
parent ac499b93b5
commit 04668c7444
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@
#include "stream_fuzzy_hash.h"
#include "gram_index_engine.h"
int MAAT_FRAME_VERSION_2_0_20170927=1;
int MAAT_FRAME_VERSION_2_0_20170929=1;
const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin",
"unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};

View File

@@ -347,6 +347,7 @@ int cm_read_cfg_index_file(const char* path,struct cm_table_info_t* idx,int size
MESA_handle_runtime_log(logger,RLOG_LV_FATAL,module_config_monitor ,"%s of %s not exisit",
idx[i].cfg_path,
path);
fclose(fp);
return -1;
}
i++;