diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-29 11:44:25 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-29 11:44:25 +0200 |
commit | 44e9e57ff13ca40e16fc8b73f1140b526d14482e (patch) | |
tree | a39b8efec9aa95b4ca021dd40fe8b5afee8d878c /docview/components | |
parent | 56174805a360732b822da8ab6e5f8c35a72be1f5 (diff) | |
download | fpGUI-44e9e57ff13ca40e16fc8b73f1140b526d14482e.tar.xz |
richview: making sure we tidy up everything.
Diffstat (limited to 'docview/components')
-rw-r--r-- | docview/components/richtext/RichTextLayoutUnit.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docview/components/richtext/RichTextLayoutUnit.pas b/docview/components/richtext/RichTextLayoutUnit.pas index 0577e4c3..c44d14a6 100644 --- a/docview/components/richtext/RichTextLayoutUnit.pas +++ b/docview/components/richtext/RichTextLayoutUnit.pas @@ -208,6 +208,9 @@ Begin ProfileEvent('TRichTextLayout.Destroy ******* '); FreeAndNil(FLines); FLinks.Free; + FRichTextSettings := nil; // was a reference only + FImages := nil; // was a reference only + FFontManager := nil; // was a reference only inherited Destroy; End; |