summaryrefslogtreecommitdiff
path: root/docview/components
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-29 11:44:25 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-29 11:44:25 +0200
commit44e9e57ff13ca40e16fc8b73f1140b526d14482e (patch)
treea39b8efec9aa95b4ca021dd40fe8b5afee8d878c /docview/components
parent56174805a360732b822da8ab6e5f8c35a72be1f5 (diff)
downloadfpGUI-44e9e57ff13ca40e16fc8b73f1140b526d14482e.tar.xz
richview: making sure we tidy up everything.
Diffstat (limited to 'docview/components')
-rw-r--r--docview/components/richtext/RichTextLayoutUnit.pas3
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;