From 1aa65f1f028fc57cceb2383c89b2a655f40ef7cc Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 5 Aug 2013 09:27:01 -0500 Subject: [svn-r23970] malloc of char array needs array deallocation. Merged from trunk. --- 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