Salome HOME
Fix for bug PAL12235 : Init values on input port not retrievable after write/read...
[modules/superv.git] / src / GraphBase / DataFlowBase_InLineNode.hxx
index 903b6e4644c6223d2af7bab0bbc45b8066396d7d..d3fdfa31bdf5451139025b30fe88987e5e2f2a1d 100644 (file)
@@ -32,8 +32,9 @@ namespace GraphBase {
       InLineNode( CORBA::ORB_ptr ORB ,
                   SALOME_NamingService* ptrNamingService ,
                   const char * DataFlowName ,
-                  int * Graph_prof_debug = NULL ,
-                  ofstream * Graph_fdebug = NULL ) ;
+                  const SUPERV::KindOfNode DataFlowkind ,
+                  int * Graph_prof_debug ,
+                  ofstream * Graph_fdebug ) ;
       InLineNode( CORBA::ORB_ptr ORB ,
                   SALOME_NamingService* ptrNamingService ,
                   const SALOME_ModuleCatalog::Service& NodeService ,
@@ -72,7 +73,8 @@ namespace GraphBase {
       const SUPERV::ListOfStrings * PythonFunction() const {
                     return &_PythonFunction ; } ;
       char * PyFuncName() const {
-             return my_strdup( _FuncName ) ; } ;
+//JR 17.02.2005 Memory Leak             return my_strdup( _FuncName ) ; } ;
+             return _FuncName ; } ;
       void PyRunMethod( PyObject * MyPyRunMethod ) {
            _MyPyRunMethod = MyPyRunMethod ; } ;
       PyObject * PyRunMethod() {