修复文件乱序到达处理过程中没有关闭文件句柄的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

@@ -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++;