From 5d7af691c3fbc778240bb30e68564b6012973811 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Fri, 4 Apr 2014 22:35:32 -0500 Subject: [svn-r24965] Fixed a typo in the thread-safe code. Tested on: 32-bit LE linux w/ thread-safe (jam) --- src/H5E.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12