Memory leak in LoadFromStream
Posted: Thu Sep 13, 2012 7:53 am
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
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