summaryrefslogtreecommitdiffstats
path: root/hl/examples/ex_table_08.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-01-14 17:55:45 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-01-14 17:55:45 (GMT)
commitfd031dd713e925a4ffecd1f62a8c38d266c7c012 (patch)
treeeeed4a702b81c0fbd2f6e3d2e21ab53fae82fefb /hl/examples/ex_table_08.c
parentd6e767c21d28c9295e24dfedcbcf17c2d18006b8 (diff)
downloadhdf5-fd031dd713e925a4ffecd1f62a8c38d266c7c012.zip
hdf5-fd031dd713e925a4ffecd1f62a8c38d266c7c012.tar.gz
hdf5-fd031dd713e925a4ffecd1f62a8c38d266c7c012.tar.bz2
[svn-r14406] bug fix: a type ID was not closed
not tested, since /examples has several compiling errors due to new APIs this check in should have no problems
Diffstat (limited to 'hl/examples/ex_table_08.c')
-rw-r--r--hl/examples/ex_table_08.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hl/examples/ex_table_08.c b/hl/examples/ex_table_08.c
index 4e1d754..6ec0ac1 100644
--- a/hl/examples/ex_table_08.c
+++ b/hl/examples/ex_table_08.c
@@ -134,7 +134,10 @@ int main( void )
}
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;