From 7ad6c08c685f7833d22b81df369026bbbc9fc549 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Thu, 14 Apr 2005 16:14:18 +0000 Subject: [PATCH] must free storage obtained by new[] with delete[] [SVN r28251] --- string/test/conv_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string/test/conv_test.cpp b/string/test/conv_test.cpp index 82f8d8f..ca3c5ff 100644 --- a/string/test/conv_test.cpp +++ b/string/test/conv_test.cpp @@ -82,8 +82,8 @@ void conv_test() to_upper( str3 ); BOOST_CHECK( str3=="" ); - free(pch1); - free(pch2); + delete[] pch1; + delete[] pch2; } // test main