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 0e341765dbad95ccd52fd08905043779fffa0c59..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,12 +73,12 @@ 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() {
-        return _MyPyRunMethod ;
-      }
+        return _MyPyRunMethod ; } ;
 
 
 //      bool SaveXML( ostream &f , char *Tabs ,