View Issue Details

IDProjectCategoryView StatusLast Update
0001488JEDI VCL00 JVCL Componentspublic2004-03-22 21:57
ReporteranonymousAssigned Touser72 
Status resolvedResolutionunable to reproduce 
Product Version 
Target VersionFixed in Version 
Summary0001488: Memory Leak GDI
DescriptionWhen clicking a JVXPcheckbox a GDI object get's lost, resulting in an Memory Leak.
Additional InformationBug Fixed here at my side:
See commented Lines:

procedure JvXPColorizeBitmap(Bitmap: TBitmap; const AColor: TColor);
  ColorMap: TBitmap;
  Rect: TRect;

  Rect := Bounds(0, 0, Bitmap.Width, Bitmap.Height);
  ColorMap := TBitmap.Create;
// Bitmap.Dormant;
// Bitmap.FreeImage;
     with ColorMap.Canvas do begin
      Brush.Color := AColor;
      BrushCopy(Rect, Bitmap, Rect, clBlack);
// ColorMap.ReleaseHandle;
TagsNo tags attached.



2004-03-18 01:55


What program did you use to detect the memory leak? To me it looks OK as is and could be a false alarm


2004-03-18 06:27


I just tested with AQTime 3 and it doesn't report any leaks


2004-03-22 21:57


Can't reproduce it with neither AQTime3 nor Sleuth QA 2

Issue History

Date Modified Username Field Change
2004-03-17 13:33 anonymous New Issue
2004-03-18 01:55 user72 Note Added: 0003375
2004-03-18 01:55 user72 Status new => feedback
2004-03-18 06:27 user72 Note Added: 0003377
2004-03-22 21:57 user72 Status feedback => resolved
2004-03-22 21:57 user72 Resolution open => unable to reproduce
2004-03-22 21:57 user72 Assigned To => user72
2004-03-22 21:57 user72 Note Added: 0003437