diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-05-09 14:56:18 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-05-09 14:56:18 (GMT) |
commit | fb396557fc760780f8b53433174b64d609f417e3 (patch) | |
tree | 11c639b3e74d3cb2ef2a832edf7617f425e61afe /test | |
parent | 90ccb5c3c3efe341071ae4cdf41db8cc3d2e8906 (diff) | |
download | hdf5-fb396557fc760780f8b53433174b64d609f417e3.zip hdf5-fb396557fc760780f8b53433174b64d609f417e3.tar.gz hdf5-fb396557fc760780f8b53433174b64d609f417e3.tar.bz2 |
[svn-r23691] Fix valgrind leak by closing fapl
Tested: local linux
Diffstat (limited to 'test')
-rw-r--r-- | test/file_image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/file_image.c b/test/file_image.c index c734db8..d4056a7 100644 --- a/test/file_image.c +++ b/test/file_image.c @@ -1207,6 +1207,9 @@ test_get_file_image_error_rejection(void) err = H5Fclose(file_id); VERIFY(err == SUCCEED, "H5Fclose(2) failed."); + /* tidy up */ + result = h5_cleanup(FILENAME2, fapl_id); + VERIFY(result != 0, "h5_cleanup(2 failed."); /************************** Test #4 **********************************/ /* set up a family file driver test file, and try to get its image |