LCL: fixed memory leak for TCursorImage.

git-svn-id: trunk@10451 -
This commit is contained in:
vincents 2007-01-15 15:11:04 +00:00
parent 82ebb63757
commit 31d77382f8

View File

@ -2003,6 +2003,7 @@ destructor TCursorImage.Destroy;
begin
if (FCursorHandle <> 0) and OwnHandle then
WidgetSet.DestroyCursor(FCursorHandle);
inherited Destroy;
end;
procedure InterfaceFinal;