diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-04-18 03:55:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-04-18 03:55:45 (GMT) |
commit | bcab84db9f291920ed0fe321116405f73eaddfa5 (patch) | |
tree | 7262020d64a762c7f88209b9af7fd6a3c2471164 /src/H5.c | |
parent | 188539f65e5de800ab63e68093c8e453e8c451c4 (diff) | |
download | hdf5-bcab84db9f291920ed0fe321116405f73eaddfa5.zip hdf5-bcab84db9f291920ed0fe321116405f73eaddfa5.tar.gz hdf5-bcab84db9f291920ed0fe321116405f73eaddfa5.tar.bz2 |
Resolve memory leak of last API context, by freeing it in H5CX terminate
routine.
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -415,8 +415,7 @@ H5_term_library(void) /* Mark library as closed */ H5_INIT_GLOBAL = FALSE; - /* Don't pop the API context, since it's been shut down already */ - /* H5CX_pop_special(); */ + /* Don't pop the API context (i.e. H5CX_pop), since it's been shut down already */ done: #ifdef H5_HAVE_THREADSAFE |