diff options
author | Quincey Koziol <koziol@lbl.gov> | 2018-03-20 18:49:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2018-03-20 18:49:30 (GMT) |
commit | ea52eabc3d5c3386df80c55e60128ef4c3ee322e (patch) | |
tree | 0f3d360d08779422200e2d50e1bb692b3475d025 | |
parent | 91244f1d27af6cd0958c0fd04d5a51cf3f049428 (diff) | |
download | hdf5-ea52eabc3d5c3386df80c55e60128ef4c3ee322e.zip hdf5-ea52eabc3d5c3386df80c55e60128ef4c3ee322e.tar.gz hdf5-ea52eabc3d5c3386df80c55e60128ef4c3ee322e.tar.bz2 |
Correct typo for error checking malloc return value.
-rw-r--r-- | src/H5CX.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -349,7 +349,7 @@ H5CX__init_package(void) #ifndef H5_HAVE_THREADSAFE /* Allocate the context stack head pointer */ - if(NULL = (H5CX_head_g = (H5CX_node_t **)HDmalloc(sizeof(H5CX_node_t *)))) + if(NULL == (H5CX_head_g = (H5CX_node_t **)HDmalloc(sizeof(H5CX_node_t *)))) HGOTO_ERROR(H5E_CONTEXT, H5E_CANTALLOC, FAIL, "can't allocate pointer to head of context stack") *H5CX_head_g = NULL; #endif /* H5_HAVE_THREADSAFE */ |