summaryrefslogtreecommitdiff
path: root/TAO/tao/Marshal.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Marshal.i')
-rw-r--r--TAO/tao/Marshal.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Marshal.i b/TAO/tao/Marshal.i
index 7a584dd82c5..1d95143e76d 100644
--- a/TAO/tao/Marshal.i
+++ b/TAO/tao/Marshal.i
@@ -193,8 +193,8 @@ TAO_Marshal_String::deep_free (CORBA::TypeCode_ptr,
const void *,
CORBA::Environment &)
{
- CORBA::string_free (*(CORBA::String *) source);
- *(CORBA::String *)source = 0;
+ CORBA::string_free (*(CORBA::Char* *) source);
+ *(CORBA::Char* *)source = 0;
return CORBA::TypeCode::TRAVERSE_CONTINUE;
}
@@ -205,7 +205,7 @@ TAO_Marshal_WString::deep_free (CORBA::TypeCode_ptr,
const void *,
CORBA::Environment &)
{
- CORBA::wstring_free (*(CORBA::WString *) source);
- *(CORBA::WString *)source = 0;
+ CORBA::wstring_free (*(CORBA::WChar* *) source);
+ *(CORBA::WChar* *)source = 0;
return CORBA::TypeCode::TRAVERSE_CONTINUE;
}