summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5CS.c2
-rw-r--r--src/H5FS.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index c39d497..e670c54 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -86,9 +86,7 @@ H5FS_get_stack(void)
fstack = pthread_getspecific(H5TS_funcstk_key_g);
if (!fstack) {
/* no associated value with current thread - create one */
- /* Where is it freed? */
fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t));
- fstack->nused = 0;
pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack);
}
diff --git a/src/H5FS.c b/src/H5FS.c
index c39d497..e670c54 100644
--- a/src/H5FS.c
+++ b/src/H5FS.c
@@ -86,9 +86,7 @@ H5FS_get_stack(void)
fstack = pthread_getspecific(H5TS_funcstk_key_g);
if (!fstack) {
/* no associated value with current thread - create one */
- /* Where is it freed? */
fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t));
- fstack->nused = 0;
pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack);
}