From: rahuel Date: Wed, 9 Mar 2005 08:54:53 +0000 (+0000) Subject: Memory Leaks X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8df653e293f931f8f971552bf5e90ccc6b50d2cd;p=modules%2Fsuperv.git Memory Leaks --- diff --git a/src/GraphEditor/DataFlowEditor_InNode.hxx b/src/GraphEditor/DataFlowEditor_InNode.hxx index 3fbbd72..0bb2a91 100644 --- a/src/GraphEditor/DataFlowEditor_InNode.hxx +++ b/src/GraphEditor/DataFlowEditor_InNode.hxx @@ -180,11 +180,14 @@ namespace GraphEditor { SUPERV::SDate LastModification() const { return _ComputingNode->LastModification() ; } ; char* Author() const { - return my_strdup( _ComputingNode->Author() ) ; } +//JR 17.02.2005 Memory Leak return my_strdup( _ComputingNode->Author() ) ; } + return _ComputingNode->Author() ; } char* EditorRelease() const { - return my_strdup( _ComputingNode->EditorRelease() ) ; } ; +//JR 17.02.2005 Memory Leak return my_strdup( _ComputingNode->EditorRelease() ) ; } ; + return _ComputingNode->EditorRelease() ; } ; char * Comment() const { - return my_strdup( _ComputingNode->Comment() ) ; } ; +//JR 17.02.2005 Memory Leak return my_strdup( _ComputingNode->Comment() ) ; } ; + return _ComputingNode->Comment() ; } ; bool Author( const char * anAuthor ) { return _ComputingNode->Author( anAuthor ) ; } ; bool EditorRelease( const char* anEditorRelease ) {