fixed memory leak

This commit is contained in:
orignal 2015-02-04 21:24:48 -05:00
parent 778d1afda0
commit 9639ab7f1e
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,7 @@ namespace tunnel
public:
TunnelGatewayBuffer (uint32_t tunnelID): m_TunnelID (tunnelID),
m_CurrentTunnelDataMsg (nullptr), m_RemainingSize (0) {};
~TunnelGatewayBuffer ();
void PutI2NPMsg (const TunnelMessageBlock& block);
const std::vector<I2NPMessage *>& GetTunnelDataMsgs () const { return m_TunnelDataMsgs; };
void ClearTunnelDataMsgs ();