summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2018-04-17 18:50:57 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2018-04-17 18:50:57 (GMT)
commit61a2456995e17ca542bbbc67fb07f8d44a38da93 (patch)
treeb75eb63138b47dc60a52178768cc168a41f1df0c /src/H5.c
parent1fc45adaf448d745307c10552daaf867aab6eac0 (diff)
parent0bd3634dc5747d88582a966050896bad57acb892 (diff)
downloadhdf5-61a2456995e17ca542bbbc67fb07f8d44a38da93.zip
hdf5-61a2456995e17ca542bbbc67fb07f8d44a38da93.tar.gz
hdf5-61a2456995e17ca542bbbc67fb07f8d44a38da93.tar.bz2
Merge pull request #1033 in HDFFV/hdf5 from fix_h5cx_pop_special_leak to develop
* commit '0bd3634dc5747d88582a966050896bad57acb892': 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