From fab99dc8d3ebb85cf0c0b75b4da79d1cbc48c28d Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 26 Jan 2007 10:16:43 +0000 Subject: [PATCH] Fix for PAL13437 : Unstable work of the "PrintPorts()" method. --- src/GraphBase/DataFlowBase_Graph.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GraphBase/DataFlowBase_Graph.cxx b/src/GraphBase/DataFlowBase_Graph.cxx index 909577b..3f48010 100644 --- a/src/GraphBase/DataFlowBase_Graph.cxx +++ b/src/GraphBase/DataFlowBase_Graph.cxx @@ -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 -- 2.39.2