summaryrefslogtreecommitdiffstats
path: root/hl/examples/ex_table_07.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/examples/ex_table_07.c')
-rw-r--r--hl/examples/ex_table_07.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hl/examples/ex_table_07.c b/hl/examples/ex_table_07.c
index 22e3396..1be9f13 100644
--- a/hl/examples/ex_table_07.c
+++ b/hl/examples/ex_table_07.c
@@ -103,7 +103,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;