diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-11-10 12:31:20 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2009-11-10 12:41:54 +0200 |
commit | f7af4a5107907f4825bb7510a951e30ef02943f1 (patch) | |
tree | 28a6e69dabdf840852b4725df90aae6611ee0b45 /extras/tiopf/gui | |
parent | fcb2773b8a7f89c7c157668a698a498501567b92 (diff) | |
download | fpGUI-f7af4a5107907f4825bb7510a951e30ef02943f1.tar.xz |
Removed minor memory leak in tiRtfReport.pas unit.
Diffstat (limited to 'extras/tiopf/gui')
-rw-r--r-- | extras/tiopf/gui/tiRtfReport.pas | 9 |
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. - - - - |