summaryrefslogtreecommitdiffstats
path: root/testpar/t_coll_chunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2014-03-10 18:03:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2014-03-10 18:03:35 (GMT)
commit5b7c8c7a7d0b40e36a744f7e1dc68cd189e321b2 (patch)
tree4428663a3634b9959ccf31eb6d8173e008d474a9 /testpar/t_coll_chunk.c
parent4a9ea60adc72f66d290da5b890bc3b480ea4f914 (diff)
downloadhdf5-5b7c8c7a7d0b40e36a744f7e1dc68cd189e321b2.zip
hdf5-5b7c8c7a7d0b40e36a744f7e1dc68cd189e321b2.tar.gz
hdf5-5b7c8c7a7d0b40e36a744f7e1dc68cd189e321b2.tar.bz2
[svn-r24772] Description:
Correct some dynamically sized arrays that fail on Windows. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel
Diffstat (limited to 'testpar/t_coll_chunk.c')
-rw-r--r--testpar/t_coll_chunk.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testpar/t_coll_chunk.c b/testpar/t_coll_chunk.c
index 61b25f8..45fe3da 100644
--- a/testpar/t_coll_chunk.c
+++ b/testpar/t_coll_chunk.c
@@ -620,9 +620,9 @@ coll_chunktest(const char* filename,
MPI_Comm comm = MPI_COMM_WORLD;
MPI_Info info = MPI_INFO_NULL;
- size_t num_points; /* for point selection */
- hsize_t *coords =NULL; /* for point selection */
- hsize_t current_dims; /* for point selection */
+ size_t num_points; /* for point selection */
+ hsize_t *coords = NULL; /* for point selection */
+ hsize_t current_dims; /* for point selection */
int i;
/* set up MPI parameters */
@@ -1033,9 +1033,9 @@ coll_chunktest(const char* filename,
VRFY((status >= 0),"H5Fclose");
/* release data buffers */
- if (coords) free(coords);
- if (data_array1) HDfree(data_array1);
- if (data_origin1) HDfree(data_origin1);
+ if(coords) HDfree(coords);
+ if(data_array1) HDfree(data_array1);
+ if(data_origin1) HDfree(data_origin1);
}