[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib/geodata/data
From: Bastian Holst <bastianholst () gmx ! de>
Date: 2010-05-21 21:13:10
Message-ID: 20100521211310.2E194AC8BF () svn ! kde ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic