Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004283 [JEDI VCL] 00 JVCL Components minor have not tried 2007-10-30 07:18 2007-10-30 11:44
Reporter TMuet View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.33
Summary 0004283: [TJvxButtonGlyph] Memory leak in destroy
Description FastMM4 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)
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0014006)
AHUser (developer)
2007-10-30 11:43

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker