Fixing (very unlikely) double delete in HTTP analyzer when decapsulating

CONNECTs.

BIT-1149 #closed
This commit is contained in:
Robin Sommer 2014-03-13 16:51:21 -07:00
parent ff261ea626
commit 00755f1e40

View file

@ -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,