This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

ThemeManager Memoryleak

edited September 2014 in LMD ElPack
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.