]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for PAL13437 : Unstable work of the "PrintPorts()" method.
authormkr <mkr@opencascade.com>
Fri, 26 Jan 2007 10:16:43 +0000 (10:16 +0000)
committermkr <mkr@opencascade.com>
Fri, 26 Jan 2007 10:16:43 +0000 (10:16 +0000)
src/GraphBase/DataFlowBase_Graph.cxx

index 909577bd4a726c6ed51cd540978c19a811fa6839..3f48010ecc8f938fb35ed0e4e4381c67fa084194 100644 (file)
@@ -3255,8 +3255,8 @@ const CORBA::Any GraphBase::Graph::PortInData( const char* ToNodeName ,
     cdebug << "GraphBase::Graph::PortInData " << ToNodeName << " "
            << ToServiceParameterName << " ERROR no Node" << endl ;
   }
-  delete theNode ;
-  delete aPort ;
+  delete [] theNode ;
+  delete [] aPort ;
 #if TracePortInOutData
   cdebug_out << "GraphBase::Graph::PortInData " << endl ;
 #endif
@@ -3307,8 +3307,8 @@ const CORBA::Any GraphBase::Graph::PortOutData( const char* FromNodeName ,
     cdebug << "GraphBase::Graph::PortOutData " << FromNodeName << " "
            << FromServiceParameterName << " ERROR no Node" << endl ;
   }
-  delete theNode ;
-  delete aPort ;
+  delete [] theNode ;
+  delete [] aPort ;
 #if TracePortInOutData
   cdebug_out << "GraphBase::Graph::PortOutData " << endl ;
 #endif