A destructor must free the memory allocated by the constructor

This commit is contained in:
Julien Sentier 2012-02-23 13:21:47 +01:00 committed by Robin Sommer
parent 7dfb5657a2
commit 1df650eb0d
4 changed files with 13 additions and 0 deletions

View file

@ -35,6 +35,7 @@ public:
class Gnutella_Analyzer : public TCP_ApplicationAnalyzer {
public:
Gnutella_Analyzer(Connection* conn);
~Gnutella_Analyzer();
virtual void Done ();
virtual void DeliverStream(int len, const u_char* data, bool orig);