]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
mpm: clean up stream thread ctx
authorVictor Julien <victor@inliniac.net>
Wed, 25 Sep 2013 08:49:45 +0000 (10:49 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 25 Sep 2013 08:49:45 +0000 (10:49 +0200)
src/detect-engine.c

index bde5cd52c80bf756317babd3e2275d8a2c934a70..70340d82e5664171fc115367960c1467cdbeb641 100644 (file)
@@ -1288,6 +1288,7 @@ TmEcode DetectEngineThreadCtxDeinit(ThreadVars *tv, void *data) {
 
     /** \todo get rid of this static */
     PatternMatchThreadDestroy(&det_ctx->mtc, det_ctx->de_ctx->mpm_matcher);
+    PatternMatchThreadDestroy(&det_ctx->mtcs, det_ctx->de_ctx->mpm_matcher);
     PatternMatchThreadDestroy(&det_ctx->mtcu, det_ctx->de_ctx->mpm_matcher);
 
     PmqFree(&det_ctx->pmq);