FpDebug: fix mem leak / cross debug to win32 causes 2 load events for ntdll

git-svn-id: trunk@62480 -
This commit is contained in:
martin 2020-01-04 03:00:09 +00:00
parent fd263834a1
commit 8bdb3bfd79

View File

@ -1731,6 +1731,7 @@ end;
procedure TFpDebugExceptionStepping.DoNtDllLoaded(ALib: TDbgLibrary);
begin
debugln(DBG_BREAKPOINTS, ['SetSoftwareExceptionBreakpoint RtlUnwind']);
FBreakPoints[bplRtlUnwind].Free;
FBreakPoints[bplRtlUnwind] := FDebugger.AddBreak('RtlUnwindEx', ALib, False);
end;