diff options
| author | Peter Penz <[email protected]> | 2007-12-08 16:16:45 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-12-08 16:16:45 +0000 |
| commit | 54dfdc930a5511eae2b15f3e87e5d1cd425bdbe4 (patch) | |
| tree | 7ba9809e1ec910100f42ae2bceb684844ff6b0f6 /src/dolphincolumnwidget.cpp | |
| parent | fc9a6701da13b1d4527b36f19860b34762cd4b3c (diff) | |
fixed memory leaks (thanks to David for fixing this in KDirOperator)
svn path=/trunk/KDE/kdebase/apps/; revision=746294
Diffstat (limited to 'src/dolphincolumnwidget.cpp')
| -rw-r--r-- | src/dolphincolumnwidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index bc692ee1b..a559e3098 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -127,8 +127,9 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent, DolphinColumnWidget::~DolphinColumnWidget() { - delete m_dirLister; - m_dirLister = 0; + delete m_dolphinModel; + m_dolphinModel = 0; + m_dirLister = 0; // deleted by m_dolphinModel } void DolphinColumnWidget::setDecorationSize(const QSize& size) |
