[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/data
Bastian Holst
bastianholst at gmx.de
Fri May 21 23:13:10 CEST 2010
SVN commit 1129287 by bholst:
Fixed misbehavior and memory leak in GeoDataRegion.
Thanks to jmho for spotting it.
M +2 -1 GeoDataRegion.cpp
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataRegion.cpp #1129286:1129287
@@ -87,11 +87,12 @@
d->m_latLonAltBox = new GeoDataLatLonAltBox( placemark->coordinate() );
}
-
+ else {
// If the parent is not a placemark then create a default LatLonAltBox
// FIXME: reference a shared object instead
d->m_latLonAltBox = new GeoDataLatLonAltBox();
}
+ }
else {
// If there is no parent then create a default LatLonAltBox
// FIXME: reference a shared object instead
More information about the Marble-commits
mailing list