From 56a5db7ce2531898a8dddedc9f341c6172296f82 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 21 Feb 2014 00:31:56 +0000 Subject: [PATCH] LeakView: Fix 1st line of trace without header git-svn-id: trunk@44189 - --- components/leakview/leakinfo.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/leakview/leakinfo.pas b/components/leakview/leakinfo.pas index 63f6627b19..2de9f1215d 100644 --- a/components/leakview/leakinfo.pas +++ b/components/leakview/leakinfo.pas @@ -418,7 +418,8 @@ begin trace.BlockSize := 0; end; - inc(TrcIndex); + if not IsTraceLine(Trc[TrcIndex]) then + inc(TrcIndex); while (TrcIndex < Trc.Count) and (Pos(CallTracePrefix, Trc[TrcIndex]) = 0) and (Pos(RawTracePrefix, Trc[TrcIndex]) = 0) do begin