From 3da562cd1b333535152791f0247fb0d4efe668b0 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 25 Nov 2025 12:38:09 +0100 Subject: [PATCH] counters: remove unused elements from StatsThreadStore --- src/counters.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/counters.c b/src/counters.c index 69e2c0858a..c72b11eb11 100644 --- a/src/counters.c +++ b/src/counters.c @@ -69,9 +69,6 @@ typedef struct StatsThreadStore_ { StatsPublicThreadContext *ctx; - StatsPublicThreadContext **head; - uint32_t size; - struct StatsThreadStore_ *next; } StatsThreadStore; @@ -363,9 +360,6 @@ static void StatsReleaseCtx(void) sts = stats_ctx->sts; while (sts != NULL) { - if (sts->head != NULL) - SCFree(sts->head); - temp = sts->next; SCFree(sts); sts = temp;