From 96aee6434f1b36669c5e781891cc0a385a601c84 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 29 Dec 2023 18:27:17 +0100 Subject: [PATCH] mpm/ac: pointer hygene --- src/util-mpm-ac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util-mpm-ac.c b/src/util-mpm-ac.c index 94de6000b2..05d777397c 100644 --- a/src/util-mpm-ac.c +++ b/src/util-mpm-ac.c @@ -916,6 +916,7 @@ void SCACDestroyCtx(MpmCtx *mpm_ctx) } SCFree(mpm_ctx->ctx); + mpm_ctx->ctx = NULL; mpm_ctx->memory_cnt--; mpm_ctx->memory_size -= sizeof(SCACCtx); -- 2.47.2