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,