Search found 6 matches

by Kubach
Wed Jun 16, 2010 8:41 am
Forum: VCL
Topic: Memory leak when using TTeeGDIPlus
Replies: 6
Views: 3499

Re: Memory leak when using TTeeGDIPlus

Yes, this does the trick.
Thanks for the quick help. It's appreciated
by Kubach
Thu Jun 10, 2010 12:02 pm
Forum: VCL
Topic: Memory leak when using TTeeGDIPlus
Replies: 6
Views: 3499

Re: Memory leak when using TTeeGDIPlus

While I'm at it: seems there's another one in Chart.pas ->TLegendSymbol.Draw()

OldBrush:=TBrush.Create;

OldBrush doesn't get freed.
by Kubach
Thu Jun 10, 2010 9:38 am
Forum: VCL
Topic: Memory leak when using TTeeGDIPlus
Replies: 6
Views: 3499

Memory leak when using TTeeGDIPlus

Hi, it seems there is a memory leak when using TTeeGDIPlus. It can be reproduced in the sample project (Delphi 2010) I've attached. Just run the code and then resize the form a couple of times and then close it. I've also attached a screenshot of the FastMM report that pops up. I think it's caused b...
by Kubach
Mon May 17, 2010 12:03 pm
Forum: VCL
Topic: GDI resource leak in v2010
Replies: 5
Views: 2782

Re: GDI resource leak in v2010

Thanks for the quick response.
Works! :-)
by Kubach
Mon May 17, 2010 10:24 am
Forum: VCL
Topic: GDI resource leak in v2010
Replies: 5
Views: 2782

Re: GDI resource leak in v2010

I've attached a demo project and two screenshots. One right after the app start, the other after 10 clicks on the button.
by Kubach
Mon May 17, 2010 7:03 am
Forum: VCL
Topic: GDI resource leak in v2010
Replies: 5
Views: 2782

GDI resource leak in v2010

Hi, I'm using the v2010 version and it seems, I’ve encountered a GDI resource problem when using GDI+. When I set the transparency of say a TBarSeries and use TTeeGDIPlus to render it, I’ve noticed that the number of GDI handles steadily increases whenever a repaint occurs. I’ve tried to find out wh...