Skip to content

Commit

Permalink
NetfilterInterface: add forgotten delete
Browse files Browse the repository at this point in the history
This commit adds a forgotten delete in the destructor of the class.
  • Loading branch information
ariava committed May 10, 2015
1 parent 8b7f2de commit ccf18b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NetfilterInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ NetfilterInterface::NetfilterInterface(const char *name) : NetworkInterface(name
/* **************************************************** */

NetfilterInterface::~NetfilterInterface() {
#ifdef NTOPNG_PRO
delete handler;
#endif
if (nfQHandle)
nfq_destroy_queue(nfQHandle);
if (nfHandle)
Expand Down

0 comments on commit ccf18b3

Please sign in to comment.