[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Jul 20 23:32:09 CEST 2009
SVN commit 1000128 by jmhoffmann:
I am committing this in the name of Torsten Rahn.
This fixes a memory leak and the fix was suggested by Patrick Spendrin.
M +2 -0 PlacemarkManager.cpp
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkManager.cpp #1000127:1000128
@@ -198,6 +198,8 @@
if ( container )
{
d->m_model->addPlacemarks( *container, false, d->m_finalized && d->m_loaderList.isEmpty() );
+ delete container;
+ container = 0;
}
if( d->m_loaderList.isEmpty() ) {
More information about the Marble-commits
mailing list