From 1795637b4ddb922b5ae8ea6e2c2483d8a64b1f49 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 30 Nov 2006 12:47:01 +0000 Subject: [PATCH] To improve memory management of SALOMEDS::Study::ListOfSObject --- src/VISU_I/VISUConfig.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISUConfig.cc b/src/VISU_I/VISUConfig.cc index 401dd8ee..d622e56b 100644 --- a/src/VISU_I/VISUConfig.cc +++ b/src/VISU_I/VISUConfig.cc @@ -507,10 +507,10 @@ namespace VISU{ } // asl, fix for PAL10455: Remove references to SObject - SALOMEDS::Study::ListOfSObject* aRefs = aStudyDocument->FindDependances( theSObject ); + SALOMEDS::Study::ListOfSObject_var aRefs = aStudyDocument->FindDependances( theSObject ); for( int i=0, n=aRefs->length(); iGetFatherComponent()->ComponentDataType()==theSObject->GetFatherComponent()->ComponentDataType() ) { aStudyBuilder->RemoveReference( o ); -- 2.39.2