summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2009-01-12 17:43:03 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2009-01-12 17:43:03 +0000
commit68f7392e32268f542af5ab6225052a471173013b (patch)
tree8072b2a113f7ba0063bae6753bfafe95a6293aa5
parentac3117a2e56991b6f3550d2a399a7461277c1a54 (diff)
downloadATCD-68f7392e32268f542af5ab6225052a471173013b.tar.gz
Mon Jan 12 17:41:29 UTC 2009 Abdullah Sowayan <sowayan@gmail.com>
-rw-r--r--flat/CIAO/ChangeLog7
-rw-r--r--flat/CIAO/DAnCE/NodeApplication/ComponentAttributesSetter.cpp3
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 &)
{