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.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent d9e541337a
commit 136f55efc7

@ -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; \

Loading…
Cancel
Save