From d18be481ba6ac53f75b6263993709352c887ad62 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 5 Apr 2006 08:06:31 +0000 Subject: [PATCH] PAL12081 - crash if to create scalar map on vitesse/0 after import TimeStamps.med --- src/SUIT/SUIT_TreeSync.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SUIT/SUIT_TreeSync.h b/src/SUIT/SUIT_TreeSync.h index 1dee6066a..0b0b59279 100644 --- a/src/SUIT/SUIT_TreeSync.h +++ b/src/SUIT/SUIT_TreeSync.h @@ -63,7 +63,9 @@ TrgItem synchronize( const SrcItem& r1, const TrgItem& r2, const TreeData& td ) if( item.myTrg==td.nullTrg() ) { //to add - lastItem = createSubTree( item.mySrc, r2, lastItem, lastItem==td.nullTrg(), td ); + TrgItem nitem = createSubTree( item.mySrc, r2, lastItem, lastItem==td.nullTrg(), td ); + if( nitem!=td.nullTrg() ) + lastItem = nitem; } else { -- 2.39.2