From ee74379f54f2f2922feb8d2b89857cbe87be52fa Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 22 Oct 2009 07:09:09 +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 7a572ba1f..f239246ad 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -370,7 +370,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();