View Issue Details

IDProjectCategoryView StatusLast Update
0004283JEDI VCL00 JVCL Componentspublic2007-10-30 11:44
ReporterTMuetAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.33 
Target VersionFixed in Version3.34 
Summary0004283: [TJvxButtonGlyph] Memory leak in destroy
DescriptionFastMM4 detects a memory leak on line 2493 :

    if Assigned(GlyphCache) and GlyphCache.empty then

which avoids to free GlyphCache :o(

I replaced it with only :

    if Assigned(GlyphCache) then

and it seem to please FastMM4. And me too :o)
TagsNo tags attached.



2007-10-30 11:43

developer   ~0014006

A FreeAndNil(GlyphCache) in the finalization block is the better solution to release the global variable GlyphCache.

Issue History

Date Modified Username Field Change
2007-10-30 07:18 TMuet New Issue
2007-10-30 11:43 AHUser Status new => resolved
2007-10-30 11:43 AHUser Fixed in Version => Daily / SVN
2007-10-30 11:43 AHUser Resolution open => fixed
2007-10-30 11:43 AHUser Assigned To => AHUser
2007-10-30 11:43 AHUser Note Added: 0014006