summaryrefslogtreecommitdiffstats
path: root/hl/examples/ex_table_11.c
diff options
context:
space:
mode:
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;