diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-23 14:31:16 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-11-23 14:31:16 +0000 |
commit | 6ef137109c126e9b1c6fe899c02c07f2f4571150 (patch) | |
tree | 1aa9cb8a7859e7dbd051eb955657bae25d5a9e71 | |
parent | 85d4962b4dd8c3ffa8367ec039b6ddb0134e63cb (diff) | |
download | ATCD-6ef137109c126e9b1c6fe899c02c07f2f4571150.tar.gz |
ChangeLogTag: Wed Nov 23 14:07:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tests/OBV/ValueBox/client.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tests/OBV/ValueBox/client.cpp b/TAO/tests/OBV/ValueBox/client.cpp index e411e82852b..019d5b5469f 100644 --- a/TAO/tests/OBV/ValueBox/client.cpp +++ b/TAO/tests/OBV/ValueBox/client.cpp @@ -545,7 +545,7 @@ int test_boxed_sequence (void) VBseqlong (), 1); - VBseqlong *temp; + VBseqlong *temp = 0; ACE_NEW_RETURN (temp, VBseqlong (), 1); @@ -562,7 +562,7 @@ int test_boxed_sequence (void) longarray[2] = 303; // Create a sequence - TDseqlong *temp2; + TDseqlong *temp2 = 0; ACE_NEW_RETURN (temp2, TDseqlong(10, 3, longarray, 1), 1); @@ -610,7 +610,6 @@ int test_boxed_sequence (void) // release vbseqlong1->_remove_ref (); - vbseqlong3->_remove_ref (); vbseqlong4->_remove_ref (); return fail; @@ -792,9 +791,8 @@ int test_boxed_struct (void) } // - // valuebox1, valuebox2, and valuebox3 must be explicitly removed. + // valuebox1 and valuebox3 must be explicitly removed. CORBA::remove_ref (valuebox1); - CORBA::remove_ref (valuebox2); CORBA::remove_ref (valuebox3); // |