diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2014-04-05 03:35:32 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2014-04-05 03:35:32 (GMT) |
commit | 5d7af691c3fbc778240bb30e68564b6012973811 (patch) | |
tree | a1deaad6eb265a37ac2abaf65e413432f7345dc3 /src/H5E.c | |
parent | 785d65181d6f191199344631d1e44b6e58c3e498 (diff) | |
download | hdf5-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/H5E.c')
-rw-r--r-- | src/H5E.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |