diff options
-rw-r--r-- | flat/CIAO/ChangeLog | 7 | ||||
-rw-r--r-- | flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/flat/CIAO/ChangeLog b/flat/CIAO/ChangeLog index 8c95fd5cb15..347a61b1e62 100644 --- a/flat/CIAO/ChangeLog +++ b/flat/CIAO/ChangeLog @@ -1,3 +1,10 @@ +Mon Jan 12 17:41:29 UTC 2009 Abdullah Sowayan <sowayan@gmail.com> + + * DAnCE/NodeApplication/ComponentAttributesSetter.cpp: + + Use var types to encapsulates memory management instead + of using ptr types. This closes bugzilla 3538. + Thu Dec 11 5:05:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> * ccm/CCM_KeylessCCMHome.idl: diff --git a/flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp b/flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp index 46cc7f92ca2..3f376e54fa7 100644 --- a/flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp +++ b/flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp @@ -61,7 +61,7 @@ ComponentAttributesSetter::SetComponentAttributes (ACE_CString /*componentName*/ ACE_CString method = "_set_"; method += prop[i].name.in(); - CORBA::Request_ptr req (0); + CORBA::Request_var req; try { @@ -69,7 +69,6 @@ ComponentAttributesSetter::SetComponentAttributes (ACE_CString /*componentName*/ req->add_in_arg ("x") = prop[i].value; req->invoke(); - CORBA::release (req); } catch (const CORBA::BAD_OPERATION &) { |