From bdb9668aa8ff4ffecd45c37df3feb94f09186d9d Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 14 Apr 2024 13:07:50 +0200 Subject: [PATCH] leakview: support heaptraces from other platforms --- components/leakview/heaptrcview.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/leakview/heaptrcview.pas b/components/leakview/heaptrcview.pas index 8def15cdcd..c0f86d1754 100644 --- a/components/leakview/heaptrcview.pas +++ b/components/leakview/heaptrcview.pas @@ -362,7 +362,7 @@ begin trace := TStackTrace(nd.Parent.Data); if not Assigned(trace) or (idx >= trace.Count) then Exit; - searchFile := trace.Lines[idx].FileName; + searchFile := Trim(SetDirSeparators(trace.Lines[idx].FileName)); if searchFile = '' then Exit; StackLine:= trace.Lines[idx];