0031075: Application Framework - reading STEP file into TDocStd_Document leads to...
[occt.git] / src / QABugs / QABugs_1.cxx
index bce0b3b..244aeb4 100644 (file)
@@ -86,6 +86,7 @@ static Standard_Integer OCC159bug (Draw_Interpretor& di, Standard_Integer argc,
   } else {
     di << "DocOwner1 = NOTNULL\n";
   }
+  OwnerD1.Nullify();
  
   Handle(TDocStd_Application) A = DDocStd::GetApplication();
   A->Close(D);