mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 01:38:19 +02:00
LCL: fixed memory leak for TCursorImage.
git-svn-id: trunk@10451 -
This commit is contained in:
parent
82ebb63757
commit
31d77382f8
@ -2003,6 +2003,7 @@ destructor TCursorImage.Destroy;
|
||||
begin
|
||||
if (FCursorHandle <> 0) and OwnHandle then
|
||||
WidgetSet.DestroyCursor(FCursorHandle);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
procedure InterfaceFinal;
|
||||
|
Loading…
Reference in New Issue
Block a user