From 557d2b3b0d7bc2bc120e12ad5455ce3ab30a504e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 24 Sep 2015 11:11:16 -0700 Subject: Make LWIPStack clean up properly. --- netcon/NetconEthernetTap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'netcon/NetconEthernetTap.cpp') diff --git a/netcon/NetconEthernetTap.cpp b/netcon/NetconEthernetTap.cpp index 0895cb44..eb3067f2 100644 --- a/netcon/NetconEthernetTap.cpp +++ b/netcon/NetconEthernetTap.cpp @@ -96,6 +96,7 @@ NetconEthernetTap::~NetconEthernetTap() _phy.whack(); Thread::join(_thread); _phy.close(_unixListenSocket,false); + delete lwipstack; } void NetconEthernetTap::setEnabled(bool en) -- cgit v1.2.3