diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-11-16 15:29:54 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-11-16 15:29:54 (GMT) |
commit | 841e168a04f14d5ce79713c2937e4cadb543ef0e (patch) | |
tree | 0b9511e36bc033d97c06368fdf5f50c863203b3e /src/H5G.c | |
parent | c3570e984a10701abcef85f3ada67b76d602c4cf (diff) | |
download | hdf5-841e168a04f14d5ce79713c2937e4cadb543ef0e.zip hdf5-841e168a04f14d5ce79713c2937e4cadb543ef0e.tar.gz hdf5-841e168a04f14d5ce79713c2937e4cadb543ef0e.tar.bz2 |
[svn-r914] Changes since 19981113
----------------------
./config/conclude.in
./test/Makefile.in
./tools/Makefile.in
The Makefile $TESTS variable has finally been split into
$TEST_PROGS and $TEST_SCRIPTS with the latter being the names
of shell scripts that need to be run with `/bin/sh'. Now we
don't have to copy each shell script before we run it. NOTE:
THIS CHANGE DOES NOT AFFECT THE PABLO MAKEFILE SINCE THAT FILE
IS A COPY OF A PREVIOUSLY GENERATED MAKEFILE.
./src/Makefile.in
Added H5Snone.c to the source list.
./src/H5G.c
Plugged a memory leak by emptying the object type "isa" table
when the library is closed.
./src/H5Tconv.c
./src/H5Tpkg.h
Added 48 new type functions to take advantage of hardware for
integer type conversions. These functions are not registered
in the conversion table yet because I haven't fully tested
them.
./src/H5Tpkg.h
Removed __unused__ qualifiers from prototypes.
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -720,6 +720,16 @@ H5G_init_interface(void) static void H5G_term_interface(void) { + size_t i; + + /* Empty the object type table */ + for (i=0; i<H5G_ntypes_g; i++) { + H5MM_xfree(H5G_type_g[i].desc); + } + H5G_ntypes_g = H5G_atypes_g = 0; + H5G_type_g = H5MM_xfree(H5G_type_g); + + /* Destroy the group object id group */ H5I_destroy_group(H5I_GROUP); } |