*Fixed possible leak with GlobalCaret.

git-svn-id: trunk@11564 -
This commit is contained in:
zeljko 2007-07-18 06:35:49 +00:00
parent bf64d0ce17
commit ddbd742d41

View File

@ -122,7 +122,9 @@ end;
procedure DestroyGlobalCaret;
begin
GlobalCaret.Free;
if GlobalCaret <> nil
then
GlobalCaret.Free;
GlobalCaret := nil;
end;