summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2014-04-05 03:35:32 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2014-04-05 03:35:32 (GMT)
commit5d7af691c3fbc778240bb30e68564b6012973811 (patch)
treea1deaad6eb265a37ac2abaf65e413432f7345dc3 /src
parent785d65181d6f191199344631d1e44b6e58c3e498 (diff)
downloadhdf5-5d7af691c3fbc778240bb30e68564b6012973811.zip
hdf5-5d7af691c3fbc778240bb30e68564b6012973811.tar.gz
hdf5-5d7af691c3fbc778240bb30e68564b6012973811.tar.bz2
[svn-r24965] Fixed a typo in the thread-safe code.
Tested on: 32-bit LE linux w/ thread-safe (jam)
Diffstat (limited to 'src')
-rw-r--r--src/H5E.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 73f1d51..0a42bcf 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -367,7 +367,7 @@ H5E_get_stack(void)
#ifdef H5_HAVE_WIN_THREADS
estack = (H5E_t *)LocalAlloc(LPTR, sizeof(H5E_t)); /* Win32 has to use LocalAlloc to match the LocalFree in DllMain */
#else
- estack = (H5E_t *)H5FL_MALLOC(sizeof(H5E_t));
+ estack = (H5E_t *)H5FL_MALLOC(H5E_t);
#endif /* H5_HAVE_WIN_THREADS */
HDassert(estack);