LazDebuggerGDBMI: fix mem-leak when cross debugging (new LazGDeBugControl)

git-svn-id: trunk@61104 -
This commit is contained in:
martin 2019-05-02 01:05:05 +00:00
parent b345479693
commit 4544b99ea8

View File

@ -1715,7 +1715,9 @@ begin
end;
end;
if FTargetInfo.TargetPtrSize = SizeOf(Pointer) then
if (FTargetInfo.TargetPtrSize = SizeOf(Pointer)) or
(FDbgControlProcess <> nil)
then
exit;
if FileExists(s) then begin