diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2009-03-23 18:51:29 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2009-03-23 18:51:29 (GMT) |
commit | 849d015bbd0e12c8a920c3367bd67515842790bf (patch) | |
tree | 5e041cef4b5b9e932f6ff1101c42efadf88f8b1d /src/H5F.c | |
parent | 6f342514df3dbf035f5401783b9322f6deb0c87a (diff) | |
download | hdf5-849d015bbd0e12c8a920c3367bd67515842790bf.zip hdf5-849d015bbd0e12c8a920c3367bd67515842790bf.tar.gz hdf5-849d015bbd0e12c8a920c3367bd67515842790bf.tar.bz2 |
[svn-r16594] Purpose: fix bug 1189
Description:
Some files apparently exist in the wild which have corrupt symbol table messages
on the root group. These files can be opened by 1.6 (which uses the cached
information in the superblock) but not by 1.8. This patch fixes 1.8 and 1.9 so
they can now open these files, and will correct them if necessary. Also fix
some potential (rare) problems with array datatype versions.
Tested: jam (parallel; h5committest not working on linew or smirom)
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1115,6 +1115,9 @@ H5F_dest(H5F_t *f, hid_t dxpl_id) f->shared->mtab.child = (H5F_mount_t *)H5MM_xfree(f->shared->mtab.child); f->shared->mtab.nalloc = 0; + /* Free root group symbol table entry, if any */ + f->shared->root_ent = H5MM_xfree(f->shared->root_ent); + /* Destroy shared file struct */ f->shared = (H5F_file_t *)H5FL_FREE(H5F_file_t, f->shared); |