summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-04-18 03:55:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-04-18 03:55:45 (GMT)
commitbcab84db9f291920ed0fe321116405f73eaddfa5 (patch)
tree7262020d64a762c7f88209b9af7fd6a3c2471164 /src/H5.c
parent188539f65e5de800ab63e68093c8e453e8c451c4 (diff)
downloadhdf5-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index f3e56d0..552330d 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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