summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-04-17 17:01:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-04-17 17:01:26 (GMT)
commit0bd3634dc5747d88582a966050896bad57acb892 (patch)
treeb75eb63138b47dc60a52178768cc168a41f1df0c /src/H5.c
parent1fc45adaf448d745307c10552daaf867aab6eac0 (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index f3e56d0..1467ddf 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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