summaryrefslogtreecommitdiffstats
path: root/examples/h5ff_client_time_datasets.c
diff options
context:
space:
mode:
authorRuth Aydt <aydt@hdfgroup.org>2014-05-27 17:38:49 (GMT)
committerRuth Aydt <aydt@hdfgroup.org>2014-05-27 17:38:49 (GMT)
commit51a255492b7a10ab80d06fcbd5c0e17098afe036 (patch)
treef0c6e8b649301d8cfbb4aeb92fb88e61822b0943 /examples/h5ff_client_time_datasets.c
parent4687e48c506c3c2a6901370f39ba6adce9a05d8c (diff)
downloadhdf5-51a255492b7a10ab80d06fcbd5c0e17098afe036.zip
hdf5-51a255492b7a10ab80d06fcbd5c0e17098afe036.tar.gz
hdf5-51a255492b7a10ab80d06fcbd5c0e17098afe036.tar.bz2
[svn-r25221] Added checks for failed malloc/calloc
Diffstat (limited to 'examples/h5ff_client_time_datasets.c')
-rw-r--r--examples/h5ff_client_time_datasets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5ff_client_time_datasets.c b/examples/h5ff_client_time_datasets.c
index 46d4da9..2952750 100644
--- a/examples/h5ff_client_time_datasets.c
+++ b/examples/h5ff_client_time_datasets.c
@@ -777,7 +777,7 @@ print_container_contents( hid_t file_id, hid_t rc_id, int my_rank )
assert( nDims == 2 );
totalSize = current_size[0] * current_size[1];
- data = (uint64_t *)calloc( totalSize, sizeof(uint64_t) );
+ data = (uint64_t *)calloc( totalSize, sizeof(uint64_t) ); assert( data != NULL );
dxpl_id = H5Pcreate( H5P_DATASET_XFER );
if ( enable_checksums ) {