From 868abac682c4d085d7db689aeeefc511e3fc3acd Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 22 Oct 2009 07:11:59 +0000 Subject: [PATCH] IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study --- src/GEOM/GEOM_Engine.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index cde59bfc5..a38837329 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -328,7 +328,7 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape, //============================================================================= bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject) { - if (!theObject) return false; + if (theObject.IsNull()) return false; int aDocID = theObject->GetDocID(); -- 2.39.2