From 00755f1e40c7ef4543e4dc9f2d570d63e33f6cdf Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Thu, 13 Mar 2014 16:51:21 -0700 Subject: [PATCH] Fixing (very unlikely) double delete in HTTP analyzer when decapsulating CONNECTs. BIT-1149 #closed --- src/analyzer/protocol/http/HTTP.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/analyzer/protocol/http/HTTP.cc b/src/analyzer/protocol/http/HTTP.cc index 0d49bb037f..f676643b7c 100644 --- a/src/analyzer/protocol/http/HTTP.cc +++ b/src/analyzer/protocol/http/HTTP.cc @@ -1085,11 +1085,8 @@ void HTTP_Analyzer::DeliverStream(int len, const u_char* data, bool is_orig) } else - { - // Shouldn't really happen. - delete pia; + // AddChildAnalyzer() will have deleted PIA. pia = 0; - } } InitHTTPMessage(content_line,