[fdo-trac] #791: Memory leaks on FDO Schema and FdoCommon
FDO
trac_fdo at osgeo.org
Wed Oct 5 11:23:15 EDT 2011
#791: Memory leaks on FDO Schema and FdoCommon
---------------------------+------------------------------------------------
Reporter: brentrobinson | Owner: brentrobinson
Type: defect | Status: closed
Priority: minor | Milestone: 3.7.0
Component: FDO API | Version: 3.7.0
Severity: 3 | Resolution: fixed
Keywords: memory leak | External_id:
---------------------------+------------------------------------------------
Changes (by brentrobinson):
* status: new => closed
* resolution: => fixed
Comment:
Revision: 6274
Author: brentrobinson
Date: 11:21:49 AM, Wednesday, October 05, 2011
Message:
Ticket#791: fixes a couple of memory leaks:
FdoClassDefinition::SetBaseClass() - fixed refcount leak while looking for
top base class.
FdoCommonSchemaUtil::DeepCopyFdoAssociationPropertyDefinition() - Add
source/destination property pair to context map earlier. This prevents
copying this property twice, and adding it to the map twice, if it is
revisited while deep copying the associated class. Adding the map a second
time causes the original pair of properties to be leaked.
----
Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/ClassDefinition.cpp
Modified : /trunk/Utilities/Common/Src/FdoCommonSchemaUtil.cpp
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/791#comment:1>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list