summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-10 12:31:20 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-10 12:41:54 +0200
commitf7af4a5107907f4825bb7510a951e30ef02943f1 (patch)
tree28a6e69dabdf840852b4725df90aae6611ee0b45 /extras
parentfcb2773b8a7f89c7c157668a698a498501567b92 (diff)
downloadfpGUI-f7af4a5107907f4825bb7510a951e30ef02943f1.tar.xz
Removed minor memory leak in tiRtfReport.pas unit.
Diffstat (limited to 'extras')
-rw-r--r--extras/tiopf/gui/tiRtfReport.pas9
1 files changed, 3 insertions, 6 deletions
diff --git a/extras/tiopf/gui/tiRtfReport.pas b/extras/tiopf/gui/tiRtfReport.pas
index 627d6d26..1041cd37 100644
--- a/extras/tiopf/gui/tiRtfReport.pas
+++ b/extras/tiopf/gui/tiRtfReport.pas
@@ -3102,8 +3102,9 @@ end;
procedure TRtfColorList.Clear;
begin
- inherited;
- Add(0, 0, 0); //Dummy color..
+ inherited Clear;
+ { TODO -oGraeme : Not sure why this was here, so I removed it. 2009-11-10 }
+// Add(0, 0, 0); //Dummy color..
end;
function TRtfColorList.Add(ARed, AGreen, ABlue: integer): integer;
@@ -4631,7 +4632,3 @@ end;
end.
-
-
-
-