View Issue Details

IDProjectCategoryView StatusLast Update
0005061JEDI Code LibraryJclBasepublic2009-12-22 06:58
ReporterRobert RossmairAssigned ToRobert Rossmair 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionVersion 2.2 
Target VersionFixed in Version 
Summary0005061: Possible memory leaks in MoveArray() for string and interface arrays
DescriptionBefore array entries of long string or interface types are written over, they need finalization, otherwise the reference count eventually won't get decreased.

BTW: For those types it's also possible to use Initialize() instead of FillChar(...,0), which has been carried out.
Additional InformationIssue caused memory leak (certainly not only) in JclVectors.TJclAnsiStrVector.ExtractIndex().
TagsJclVectors, Memory leak, MoveArray
Fixed in GIT commit
Fixed in SVN revision3098
IDE versionDelphi/C++Builder 2009

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-12-22 06:47 Robert Rossmair New Issue
2009-12-22 06:47 Robert Rossmair IDE version => Delphi/C++Builder 2009
2009-12-22 06:58 Robert Rossmair Fixed in revision => 3098
2009-12-22 06:58 Robert Rossmair Assigned To => Robert Rossmair
2009-12-22 06:58 Robert Rossmair Status new => resolved
2009-12-22 06:58 Robert Rossmair Resolution open => fixed
2009-12-22 06:58 Robert Rossmair Description Updated
2009-12-22 06:58 Robert Rossmair Additional Information Updated
2009-12-22 07:00 Robert Rossmair Tag Attached: JclVectors
2009-12-22 07:00 Robert Rossmair Tag Attached: Memory leak
2009-12-22 07:00 Robert Rossmair Tag Attached: MoveArray