diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-04-17 17:01:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-04-17 17:01:26 (GMT) |
commit | 0bd3634dc5747d88582a966050896bad57acb892 (patch) | |
tree | b75eb63138b47dc60a52178768cc168a41f1df0c /src/H5.c | |
parent | 1fc45adaf448d745307c10552daaf867aab6eac0 (diff) | |
download | hdf5-0bd3634dc5747d88582a966050896bad57acb892.zip hdf5-0bd3634dc5747d88582a966050896bad57acb892.tar.gz hdf5-0bd3634dc5747d88582a966050896bad57acb892.tar.bz2 |
Close memory leak of last API context when shutting library down.
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -415,8 +415,8 @@ 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(); */ + /* Pop the API context (without checking for errors) */ + H5CX_pop_special(); done: #ifdef H5_HAVE_THREADSAFE |