summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-08-22 13:46:09 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-08-22 13:46:09 +0200
commit545fa67fad4ecfe68f090c005faf370bad6a3d5e (patch)
tree0a004cb8051d404e97137d1ea3617b74c1873847
parent45f44897e3de7020e8161ebef212774f9080ebeb (diff)
downloadfpGUI-545fa67fad4ecfe68f090c005faf370bad6a3d5e.tar.xz
dcoview: fixed a minor memory leak.
-rw-r--r--docview/components/richtext/CanvasFontManager.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas
index 2994eece..cfdb4924 100644
--- a/docview/components/richtext/CanvasFontManager.pas
+++ b/docview/components/richtext/CanvasFontManager.pas
@@ -408,6 +408,7 @@ begin
End;
End;
+ fl.Free;
// pick some for defaults
GetDefaultFonts;
end;