diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-10-04 21:39:27 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-10-04 21:39:27 (GMT) |
commit | b9c4183b5cd7789ce33e13485301fba629465469 (patch) | |
tree | 1d86f957a71d53a44ce7802c8ff79ed222a6f6de /testpar | |
parent | b553ceaa71c7ecf41444c83ca801863da0db73f0 (diff) | |
download | hdf5-b9c4183b5cd7789ce33e13485301fba629465469.zip hdf5-b9c4183b5cd7789ce33e13485301fba629465469.tar.gz hdf5-b9c4183b5cd7789ce33e13485301fba629465469.tar.bz2 |
[svn-r27948] Merge of r27427 from the trunk
Parallel resource cleanup:
- free comm keyval after setting atribute on comm_self
- free allocated buffer in t_file_image test
Tested on: Ubuntu 15.04 (Linux 3.19 x86_64)
gcc 4.9.2 and MPICH 3.1.4 (parallel only)
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_file_image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testpar/t_file_image.c b/testpar/t_file_image.c index 544ba32..96e65d5 100644 --- a/testpar/t_file_image.c +++ b/testpar/t_file_image.c @@ -240,6 +240,9 @@ file_image_daisy_chain_test(void) if(vector_ptr[i] != i) vector_ok = FALSE; VRFY((vector_ok), "verified received vector."); + + HDfree(vector_ptr); + vector_ptr = NULL; /* 7) closes the core file and exit. */ |