From 6da129cef05328a6935bb6ce65319944cdce5a95 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 3 Jul 2013 09:58:09 -0500 Subject: [svn-r23861] HDFFV-8322: Mismatched free() / delete / delete [] for cpp_testhdf5 Tested:" local linux --- c++/test/tfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/test/tfilter.cpp b/c++/test/tfilter.cpp index 9e60655..257e4be 100644 --- a/c++/test/tfilter.cpp +++ b/c++/test/tfilter.cpp @@ -230,7 +230,7 @@ void test_szip_filter(H5File& file1) issue_fail_msg("test_szip_filter()", __LINE__, __FILE__, E.getCDetailMsg()); } - delete tconv_buf; + delete[] tconv_buf; } // if szip presents else { SKIPPED(); -- cgit v0.12