FPVectorial memory leak: styles added to document not freed
Original Reporter info from Mantis: and3md @and3md
-
Reporter name: Andrzej Kilijanski
Original Reporter info from Mantis: and3md @and3md
- Reporter name: Andrzej Kilijanski
Description:
Styles added to TvVectorialDocument are not freed.
Patch and little test program added.
Steps to reproduce:
Just add a new style:
Doc:=TvVectorialDocument.Create;
try
Doc.AddStyle;
finally
FreeAndNil(Doc);
end;
Mantis conversion info:
- Mantis ID: 31356
- OS: Linux Mint
- OS Build: 18
- Platform: x64
- Version: 1.6.3 (SVN)
- Fixed in revision: 54173 (#1e8c8bdc)
- Target version: 1.6.4