diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-26 01:03:35 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-26 01:03:35 +0100 |
commit | ebb9ae47ae9ec504e2feb6e353caab63baf3f2c5 (patch) | |
tree | 301133f59a3e68eb12a74c9cd778c0a82567db3f /src | |
parent | Added credits for Jon de Andres Frias (diff) | |
download | rekonq-ebb9ae47ae9ec504e2feb6e353caab63baf3f2c5.tar.xz |
memcheck fixes
rekonq looses 8 bytes + sizeof(KCompletion) weight :D
Diffstat (limited to 'src')
-rw-r--r-- | src/history.cpp | 1 | ||||
-rw-r--r-- | src/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/webpage.cpp | 1 |
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)); |