summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/any.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/any.cpp')
-rw-r--r--TAO/tests/Param_Test/any.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tests/Param_Test/any.cpp b/TAO/tests/Param_Test/any.cpp
index 600113401c2..537c6c89e4a 100644
--- a/TAO/tests/Param_Test/any.cpp
+++ b/TAO/tests/Param_Test/any.cpp
@@ -108,8 +108,8 @@ Test_Any::reset_parameters (void)
"Param_Test: ANY_SHORT subtest\n"));
CORBA::Short s;
s = gen->gen_short ();
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "setting short = %d\n", s));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG, "setting short = %d\n", s));
this->in_ <<= s;
this->inout_ <<= s;
}
@@ -121,11 +121,10 @@ Test_Any::reset_parameters (void)
ACE_DEBUG ((LM_DEBUG,
"Param_Test: ANY_STRING subtest\n"));
char *str = gen->gen_string ();
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "setting string = %s\n", str));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG, "setting string = %s\n", str));
this->in_ <<= str;
this->inout_ <<= str;
- CORBA::string_free (str);
}
break;