summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/opcap.cpp2
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;