mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
*Fixed possible leak with GlobalCaret.
git-svn-id: trunk@11564 -
This commit is contained in:
parent
bf64d0ce17
commit
ddbd742d41
@ -122,7 +122,9 @@ end;
|
||||
|
||||
procedure DestroyGlobalCaret;
|
||||
begin
|
||||
GlobalCaret.Free;
|
||||
if GlobalCaret <> nil
|
||||
then
|
||||
GlobalCaret.Free;
|
||||
GlobalCaret := nil;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user