summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-08-05 14:27:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-08-05 14:27:01 (GMT)
commit1aa65f1f028fc57cceb2383c89b2a655f40ef7cc (patch)
tree087fefe8b6f2e4662d9eedc49dd266631ffa6195 /c++
parent12f927462f65bb3b524f4d81e87f92a6c1d3796e (diff)
downloadhdf5-1aa65f1f028fc57cceb2383c89b2a655f40ef7cc.zip
hdf5-1aa65f1f028fc57cceb2383c89b2a655f40ef7cc.tar.gz
hdf5-1aa65f1f028fc57cceb2383c89b2a655f40ef7cc.tar.bz2
[svn-r23970] malloc of char array needs array deallocation.
Merged from trunk.
Diffstat (limited to 'c++')
-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();