summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-08-28 20:57:41 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-08-28 20:57:41 (GMT)
commita31524e4aee50324ccbc6707584b1758279f984e (patch)
treebffd22d55739fd897b06ec9d3c9339fc1f1bd7c3 /src/H5S.c
parent0286bb12de563c6aeb1b9d0c5be4afe717305477 (diff)
parent1847391fc51728811407f3e1586213758c1d0e89 (diff)
downloadhdf5-a31524e4aee50324ccbc6707584b1758279f984e.zip
hdf5-a31524e4aee50324ccbc6707584b1758279f984e.tar.gz
hdf5-a31524e4aee50324ccbc6707584b1758279f984e.tar.bz2
[svn-r27607] merge from trunk.
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 9b37797..efb9d34 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -190,7 +190,7 @@ H5S_create(H5S_class_t type)
FUNC_ENTER_NOAPI(NULL)
/* Create a new dataspace */
- if(NULL == (new_ds = H5FL_MALLOC(H5S_t)))
+ if(NULL == (new_ds = H5FL_CALLOC(H5S_t)))
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")
/* Initialize default dataspace state */