diff options
| author | fengweihao <[email protected]> | 2023-04-04 16:06:40 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2023-04-04 16:06:40 +0800 |
| commit | ed9a4739a1736dcb3cd1758dd75c8ab071f0106d (patch) | |
| tree | cae6b51f6ca83b1f478db1c20eb05378babf68ae /plugin/business/doh/src/doh.cpp | |
| parent | 26b533cba9865afdef4682ee99ed07932dce6947 (diff) | |
TSG-14379 Monitor策略日志多命中情况下Vsys ID填写错误v4.8.2-20230404
Diffstat (limited to 'plugin/business/doh/src/doh.cpp')
| -rw-r--r-- | plugin/business/doh/src/doh.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/business/doh/src/doh.cpp b/plugin/business/doh/src/doh.cpp index d7e89b0..ac5b601 100644 --- a/plugin/business/doh/src/doh.cpp +++ b/plugin/business/doh/src/doh.cpp @@ -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); } |
