]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
smtp: reset inspection buffers
authorVictor Julien <victor@inliniac.net>
Tue, 1 Dec 2015 14:20:19 +0000 (15:20 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 9 Dec 2015 13:38:33 +0000 (14:38 +0100)
src/detect.c

index 401d2b008d32f67948d66c86c5cc2daa152a2628..74a1b8a927c451bb2bd8ceab87ba7efda22a1852 100644 (file)
@@ -1827,6 +1827,7 @@ end:
     DetectEngineCleanHCBDBuffers(det_ctx);
     DetectEngineCleanHSBDBuffers(det_ctx);
     DetectEngineCleanHHDBuffers(det_ctx);
+    DetectEngineCleanSMTPBuffers(det_ctx);
 
     /* store the found sgh (or NULL) in the flow to save us from looking it
      * up again for the next packet. Also return any stream chunk we processed