summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2013-09-29 10:49:46 +0200
committerMontel Laurent <montel@kde.org>2013-09-29 10:49:46 +0200
commit86fa2889523b4adeb87eece1b8d78dc07d593454 (patch)
tree609eedc5e7580425bbc57c1fd487a1f7bb25e9a2 /src/adblock
parentReenable the Reload All Tabs Action (diff)
downloadrekonq-86fa2889523b4adeb87eece1b8d78dc07d593454.tar.xz
Fix mem leak
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblocksettingwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adblock/adblocksettingwidget.cpp b/src/adblock/adblocksettingwidget.cpp
index 4b72f20a..89d5f8b2 100644
--- a/src/adblock/adblocksettingwidget.cpp
+++ b/src/adblock/adblocksettingwidget.cpp
@@ -107,7 +107,7 @@ void AdBlockSettingWidget::insertRule()
void AdBlockSettingWidget::removeRule()
{
- manualFiltersListWidget->takeItem(manualFiltersListWidget->currentRow());
+ delete manualFiltersListWidget->takeItem(manualFiltersListWidget->currentRow());
}