From 135c13bf3fa7d21f3159e821625b8348baa9ca0d Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 13 Feb 2002 18:47:13 +0000 Subject: ChangeLogTag: Wed Feb 13 12:45:06 2002 Balachandran Natarajan --- tests/Config_Test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Config_Test.cpp b/tests/Config_Test.cpp index d3e798fd65e..4f979354785 100644 --- a/tests/Config_Test.cpp +++ b/tests/Config_Test.cpp @@ -122,7 +122,7 @@ test (ACE_Configuration *config) if (data_out[j] != data[j]) return -11; - delete data_out; + delete [] data_out; // Test iteration. ACE_TString name; @@ -710,6 +710,8 @@ iniCompare (ACE_Configuration_Heap& fromFile, ACE_Configuration_Heap& original) ++ptr; } delete (char *)binary_data; + delete [] (char *)binary_data; + }// end successful binary read }// end if originalType was binary else -- cgit v1.2.1