summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-07-03 14:58:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-07-03 14:58:09 (GMT)
commit6da129cef05328a6935bb6ce65319944cdce5a95 (patch)
tree5b52c2a2575606a00ff33161030543db1b1753f1
parenta0ccc0f0faf4c12c0ef81777f6d9ae5e1a1107f9 (diff)
downloadhdf5-6da129cef05328a6935bb6ce65319944cdce5a95.zip
hdf5-6da129cef05328a6935bb6ce65319944cdce5a95.tar.gz
hdf5-6da129cef05328a6935bb6ce65319944cdce5a95.tar.bz2
[svn-r23861] HDFFV-8322: Mismatched free() / delete / delete [] for cpp_testhdf5
Tested:" local linux
-rw-r--r--c++/test/tfilter.cpp2
1 files changed, 1 insertions, 1 deletions
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();