[Marble-commits] branches/KDE/4.3/kdeedu/marble/src/lib
Torsten Rahn
tackat at kde.org
Tue Jul 21 03:11:22 CEST 2009
SVN commit 1000199 by rahn:
- Fix for leaks in MarbleRunnerManger and the OnfRunner. Found and fixed by 'idis'.
M +1 -0 MarbleRunnerManager.cpp
M +1 -0 runners/OnfRunner.cpp
--- branches/KDE/4.3/kdeedu/marble/src/lib/MarbleRunnerManager.cpp #1000198:1000199
@@ -88,6 +88,7 @@
void MarbleRunnerManager::slotRunnerFinished( MarbleAbstractRunner* runner, QVector<GeoDataPlacemark> result )
{
m_runners.removeOne(runner);
+ runner->deleteLater();
qDebug() << "Runner finished, active runners: " << m_runners.size();
qDebug() << "Runner reports" << result.size() << "results";
if( result.isEmpty() )
--- branches/KDE/4.3/kdeedu/marble/src/lib/runners/OnfRunner.cpp #1000198:1000199
@@ -125,6 +125,7 @@
it->setVisualCategory( category() );
}
emit runnerFinished( this, placemarks );
+ delete results;
return;
}
More information about the Marble-commits
mailing list