summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-26 01:03:35 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-26 01:03:35 +0100
commitebb9ae47ae9ec504e2feb6e353caab63baf3f2c5 (patch)
tree301133f59a3e68eb12a74c9cd778c0a82567db3f /src
parentAdded credits for Jon de Andres Frias (diff)
downloadrekonq-ebb9ae47ae9ec504e2feb6e353caab63baf3f2c5.tar.xz
memcheck fixes
rekonq looses 8 bytes + sizeof(KCompletion) weight :D
Diffstat (limited to 'src')
-rw-r--r--src/history.cpp1
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/webpage.cpp1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/history.cpp b/src/history.cpp
index c3ccbad2..91360839 100644
--- a/src/history.cpp
+++ b/src/history.cpp
@@ -95,6 +95,7 @@ HistoryManager::HistoryManager(QObject *parent)
HistoryManager::~HistoryManager()
{
m_saveTimer->saveIfNeccessary();
+ delete m_completion;
}
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 82c543fb..e26b39bd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -495,6 +495,8 @@ void MainWindow::slotUpdateConfiguration()
// ====== load Settings on main classes
Application::historyManager()->loadSettings();
+
+ defaultSettings = 0;
}
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 2b622847..3754444b 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -72,7 +72,6 @@ WebPage::WebPage(QObject *parent)
: QWebPage(parent)
, m_keyboardModifiers(Qt::NoModifier)
, m_pressedButtons(Qt::NoButton)
- , m_requestedUrl()
{
setPluginFactory(new WebPluginFactory(this));