Page 1 of 1

Memory leak in LoadFromStream

Posted: Thu Sep 13, 2012 7:53 am
by martinbj
Hi,

I get a memory leak when I use the LoadFromStream procedure:

ReportMemoryLeaksOnShutdown := True;
RichView.LoadFromStream( stream );
...
On Shutdown I get this error:

---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
13 - 20 bytes: TList x 1
29 - 36 bytes: UnicodeString x 1
45 - 52 bytes: TRVStyleTemplateCollection x 1
---------------------------
OK
---------------------------


Is it me doing anything wrong?

Cheers,
Martin
:?:

Posted: Thu Sep 13, 2012 9:45 am
by Sergey Tkachenko
Must be fixed in v13.13