Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

ThemeManager Memoryleak

Hi,

there is a little memoryleak in LMDThemesMain.pas, CurrentTemeManager will never be freed.

It is just a little thing, but it is is annoying with ReportMemoryLeaks turned on;)

For me I added:

finalization
  if Assigned(CurrentThemeManager) then
    CurrentThemeManager.Free;

But please take care, in my application only one theme is loaded at startup. If LoadTheme is called more than once, it might be not the correct solution.

Bye

Andre Engelshove

Comments

Sign In or Register to comment.