summaryrefslogtreecommitdiffstats
path: root/hl/examples/ex_table_11.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_11.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_11.c')
-rw-r--r--hl/examples/ex_table_11.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hl/examples/ex_table_11.c b/hl/examples/ex_table_11.c
index 91cab7a..7679ac6 100644
--- a/hl/examples/ex_table_11.c
+++ b/hl/examples/ex_table_11.c
@@ -107,7 +107,10 @@ int main( void )
/* print */
printf ("Table has %d fields and %d records\n",(int)nfields_out,(int)nrecords_out);
- /* Close the file. */
+ /* close type */
+ H5Tclose( string_type );
+
+ /* close the file */
H5Fclose( file_id );
return 0;