TSG-14379 Monitor策略日志多命中情况下Vsys ID填写错误
This commit is contained in:
@@ -107,7 +107,6 @@ struct doh_action_param
|
||||
char *message;
|
||||
char *position;
|
||||
float enforcement_ratio;
|
||||
int vsys_id;
|
||||
int profile_id;
|
||||
int status_code;
|
||||
size_t n_rule;
|
||||
@@ -486,6 +485,12 @@ static void doh_ctx_free(struct doh_ctx *ctx)
|
||||
ctx->opts = NULL;
|
||||
}
|
||||
|
||||
if(ctx->scan_mid)
|
||||
{
|
||||
maat_state_free(ctx->scan_mid);
|
||||
ctx->scan_mid = NULL;
|
||||
}
|
||||
|
||||
if (ctx->http_req_body)
|
||||
{
|
||||
evbuffer_free(ctx->http_req_body);
|
||||
@@ -515,7 +520,6 @@ static void doh_ctx_free(struct doh_ctx *ctx)
|
||||
free(ctx->location_server);
|
||||
ctx->location_server = NULL;
|
||||
}
|
||||
|
||||
FREE(&ctx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user