-rw-r--r-- | libopie2/opienet/opcap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp index 8184f21..03e4502 100644 --- a/libopie2/opienet/opcap.cpp +++ b/libopie2/opienet/opcap.cpp @@ -89,13 +89,13 @@ OPacket::OPacket( int datalink, packetheaderstruct header, const unsigned char* } OPacket::~OPacket() { odebug << "~OPacket( " << name() << " )" << oendl; - delete _data; + delete [] _data; } timevalstruct OPacket::timeval() const { return _hdr.ts; |