[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-06 19:42:31
Message-ID: 20100506194231.27946AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1123751 by bholst:
Fix memory leak in GeoDataRegionPrivate::operator=
M +2 -0 GeoDataRegion_p.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataRegion_p.h #1123750:1123751
@@ -69,6 +69,7 @@
GeoDataRegionPrivate &operator=( const GeoDataRegionPrivate other )
{
m_parent = other.m_parent;
+ delete m_latLonAltBox;
if ( other.m_latLonAltBox ) {
m_latLonAltBox = new GeoDataLatLonAltBox( *other.m_latLonAltBox );
}
@@ -76,6 +77,7 @@
m_latLonAltBox = 0;
}
+ delete m_lod;
if ( other.m_lod ) {
m_lod = new GeoDataLod( *other.m_lod );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic