I have an application which uses a TsWorkbookTabControl with a TsWorkseetGrid and a TsWorkbookSource. Extensive use is made HTML tags for text formatting. I have noticed that simply clicking on a cell that uses such formatting results in a memory leak.
This was traced to unit fpsHTMLUtils, function TsHTMLComposer.Exec(), line 1060 where prevFnt is created but never released. Enclosing the rest of the function in a Try-Finally where prevFnt is freed solves the problem. The patch is attached.
I tried to make a simple example app to illustrate the problem, but even though I used HTML tags, TsHTMLComposer.Exec() never gets called. I even tried testing with the fpsgrids example app, which uses rich text, and again TsHTMLComposer.Exec() never gets called, so I have no idea why there is different behavior with my code.