TSG-1531 调用 Maat_clean_status 释放资源;删除重复的代码文件

This commit is contained in:
luwenpeng
2020-06-24 11:00:59 +08:00
parent cd26e3e6c1
commit b4683daf32
3 changed files with 3 additions and 178 deletions

View File

@@ -371,6 +371,9 @@ static void doh_ctx_free(struct doh_ctx *ctx)
ctx->doh_req = NULL;
}
Maat_clean_status(&(ctx->scan_mid));
ctx->scan_mid = NULL;
if (ctx->opts_num)
{
free(ctx->opts);