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
@@ -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();
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
@@ -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/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
@@ -10,6 +10,7 @@ class WLANImp : public WLAN {
public:
WLANImp( QWidget* parent = 0, const char* name = 0);
+ ~WLANImp( );
protected:
void accept();