diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2003-07-26 02:55:47 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2003-07-26 02:55:47 (GMT) |
commit | 0d22a663df367ada055cb3695186c669e1dd6d5e (patch) | |
tree | 9a3c6588411b63b90ec5d86f65032c0f373eb4e2 /src/H5FS.c | |
parent | b4b2b55d33be1c4f1c33aaf58294281a93b7da39 (diff) | |
download | hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.zip hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.tar.gz hdf5-0d22a663df367ada055cb3695186c669e1dd6d5e.tar.bz2 |
[svn-r7265] *** empty log message ***
Diffstat (limited to 'src/H5FS.c')
-rw-r--r-- | src/H5FS.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -86,7 +86,9 @@ H5FS_get_stack(void) fstack = pthread_getspecific(H5TS_funcstk_key_g); if (!fstack) { /* no associated value with current thread - create one */ - fstack = (H5FS_t *)H5MM_malloc(sizeof(H5FS_t)); + /* Where is it freed? */ + fstack = (H5FS_t *)H5MM_calloc(sizeof(H5FS_t)); + fstack->nused = 0; pthread_setspecific(H5TS_funcstk_key_g, (void *)fstack); } |