Salome HOME
Detail ({} added)
[modules/superv.git] / src / GraphBase / DataFlowBase_DataNode.cxx
index 2ffb9ba63a261d1463297f33a927831f40f1959a..b0644c839e1712cbed4d51420524d101f58a75b6 100644 (file)
@@ -79,8 +79,9 @@ void GraphBase::DataNode::DataService( CORBA::ORB_ptr ORB ,
   DefPortsOfNode( ORB , aService , NamePtr() , Kind() ,
                   Graph_prof_debug , Graph_fdebug ) ;
 
-  if ( _Created )
+  if ( _Created ) {
     delete _DataFlowDataPorts ;
+  }
   SALOME_ModuleCatalog::Service aReversedService ;
   aReversedService.ServiceName = aService.ServiceName ;
   aReversedService.ServiceinParameter = aService.ServiceoutParameter ;
@@ -119,8 +120,6 @@ int GraphBase::DataNode::CheckDataServerNodes() const {
     else {
       cdebug << "InPort " << anOutPort->PortName() << " " << anOutPort->PortType() << " "
              << anOutPort->PortStatus() << " of DataFlow " << Name()  << " has Data : "
-//           << _DataFlowDataPorts->GetNodeOutPort(i)->Value() << " kind "
-//           << _DataFlowDataPorts->GetNodeOutPort(i)->Kind()
              << endl ;
     }
   }