diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-08-12 00:04:04 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-08-12 00:04:04 +0200 |
commit | 972fbf460b14b61126e1910ffff9c014c026a84a (patch) | |
tree | 0ac6e55342e4d41317438db659b027c44fe0d32a | |
parent | 4be1bb4331ea4818431a2e1465fd35aa8c23fe1e (diff) | |
download | fpGUI-972fbf460b14b61126e1910ffff9c014c026a84a.tar.xz |
imagelist: in the destructor, rather call .Free and not .Destroy
-rw-r--r-- | src/corelib/fpg_imagelist.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/fpg_imagelist.pas b/src/corelib/fpg_imagelist.pas index c2c1b3eb..20d34e35 100644 --- a/src/corelib/fpg_imagelist.pas +++ b/src/corelib/fpg_imagelist.pas @@ -282,7 +282,7 @@ end; destructor TfpgImageItem.Destroy; begin if FImage <> nil then - FImage.Destroy; + FImage.Free; inherited Destroy; end; |