From 136f55efc7595b800a41bb81757f3aee28f8f1ec Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sun, 17 Apr 2011 22:38:36 +0200 Subject: [PATCH] Fix a memory leak in flow recycle code causing the detection engine state not to be fully freed (recycled) but reference to memory removed anyway. --- src/flow-util.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flow-util.h b/src/flow-util.h index be66d65033..bd46ca0dde 100644 --- a/src/flow-util.h +++ b/src/flow-util.h @@ -75,7 +75,6 @@ SC_ATOMIC_RESET((f)->use_cnt); \ if ((f)->de_state != NULL) { \ DetectEngineStateReset((f)->de_state); \ - (f)->de_state = NULL; \ } \ (f)->sgh_toserver = NULL; \ (f)->sgh_toclient = NULL; \