-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 4 | ||||
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index 3b0e0b7..ea19207 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -21,6 +21,10 @@ WLANImp::WLANImp( QWidget* parent, const char* name):WLAN(parent, name){ readConfig(); } +WLANImp::~WLANImp( ){ + delete config; +} + void WLANImp::readConfig() { qWarning( "WLANImp::readConfig() called." ); diff --git a/noncore/net/networksetup/wlan/wlanimp.h b/noncore/net/networksetup/wlan/wlanimp.h index 79e931d..22ce143 100644 --- a/noncore/net/networksetup/wlan/wlanimp.h +++ b/noncore/net/networksetup/wlan/wlanimp.h @@ -10,6 +10,7 @@ class WLANImp : public WLAN { public: WLANImp( QWidget* parent = 0, const char* name = 0); + ~WLANImp( ); protected: void accept(); |