[Marble-commits] branches/KDE/4.3/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Jul 20 23:46:01 CEST 2009
SVN commit 1000132 by jmhoffmann:
Backport of commit r1000128 from trunk.
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
--- branches/KDE/4.3/kdeedu/marble/src/lib/PlacemarkManager.cpp #1000131:1000132
@@ -199,6 +199,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