summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-06-16 11:07:07 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-06-16 11:07:07 +0000
commit4600e5620919e1f1489dfdfb8a20ebcc8b35a828 (patch)
tree84ef7b2624d7db7522ad77039dc6ab209d3bd71e
parent8eeb28d9c45b1540ea2ba219d44a663a0959ffda (diff)
downloadATCD-4600e5620919e1f1489dfdfb8a20ebcc8b35a828.tar.gz
Thu Jun 16 11:05:53 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp: Fixed memory leak in this test
-rw-r--r--CIAO/ChangeLog5
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog
index 90f7088fc4d..508b431fd89 100644
--- a/CIAO/ChangeLog
+++ b/CIAO/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 16 11:05:53 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp:
+ Fixed memory leak in this test
+
Thu Jun 16 08:36:24 UTC 2011 Marcel Smit <msmit@remedy.nl>
* connectors/dds4ccm/impl/ndds/TypeSupport.cpp:
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp
index 2de724bb0eb..381e9decc9d 100644
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp
+++ b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp
@@ -84,6 +84,7 @@ namespace CIAO_Quoter_Producer_Impl
::CORBA::Boolean
my_quoter_exec_i::find_closest_symbol (char *& symbol)
{
+ CORBA::string_free (symbol);
symbol = CORBA::string_dup ("Windoze");
return true;
}