From: dmv Date: Thu, 22 Oct 2009 07:11:59 +0000 (+0000) Subject: IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study X-Git-Tag: V4_1_0_maintainance_FINAL~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=868abac682c4d085d7db689aeeefc511e3fc3acd;p=modules%2Fgeom.git IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study --- 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();