summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.cpp4
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.h1
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp.cpp4
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp.h1
4 files changed, 10 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
@@ -22,4 +22,8 @@ WLANImp::WLANImp( QWidget* parent, const char* name):WLAN(parent, name){
}
+WLANImp::~WLANImp( ){
+ delete config;
+}
+
void WLANImp::readConfig()
{
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
@@ -11,4 +11,5 @@ class WLANImp : public WLAN {
public:
WLANImp( QWidget* parent = 0, const char* name = 0);
+ ~WLANImp( );
protected:
diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp
index 3b0e0b7..ea19207 100644
--- a/noncore/settings/networksettings/wlan/wlanimp.cpp
+++ b/noncore/settings/networksettings/wlan/wlanimp.cpp
@@ -22,4 +22,8 @@ WLANImp::WLANImp( QWidget* parent, const char* name):WLAN(parent, name){
}
+WLANImp::~WLANImp( ){
+ delete config;
+}
+
void WLANImp::readConfig()
{
diff --git a/noncore/settings/networksettings/wlan/wlanimp.h b/noncore/settings/networksettings/wlan/wlanimp.h
index 79e931d..22ce143 100644
--- a/noncore/settings/networksettings/wlan/wlanimp.h
+++ b/noncore/settings/networksettings/wlan/wlanimp.h
@@ -11,4 +11,5 @@ class WLANImp : public WLAN {
public:
WLANImp( QWidget* parent = 0, const char* name = 0);
+ ~WLANImp( );
protected: