From c3828902f3cf78ccea1824608c66d16860ae36dd Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 27 Jan 2025 19:00:42 +0100 Subject: [PATCH] SQUASH non-pf app --- src/detect-engine-prefilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-engine-prefilter.c b/src/detect-engine-prefilter.c index 6b7a51a440cb..9fd8812f1f25 100644 --- a/src/detect-engine-prefilter.c +++ b/src/detect-engine-prefilter.c @@ -673,7 +673,7 @@ int PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh) add->progress = app->progress; add->sigs = SCCalloc(max_sids, sizeof(struct PrefilterNonPFDataSig)); if (add->sigs == NULL) { - SCFree(add->sigs); + SCFree(add); goto error; } add->sigs_cnt = 0;