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