diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-01-14 17:55:45 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-01-14 17:55:45 (GMT) |
commit | fd031dd713e925a4ffecd1f62a8c38d266c7c012 (patch) | |
tree | eeed4a702b81c0fbd2f6e3d2e21ab53fae82fefb /hl/examples | |
parent | d6e767c21d28c9295e24dfedcbcf17c2d18006b8 (diff) | |
download | hdf5-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')
-rw-r--r-- | hl/examples/ex_table_01.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_02.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_03.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_04.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_05.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_06.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_07.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_08.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_09.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_10.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_11.c | 5 | ||||
-rw-r--r-- | hl/examples/ex_table_12.c | 5 |
12 files changed, 48 insertions, 12 deletions
diff --git a/hl/examples/ex_table_01.c b/hl/examples/ex_table_01.c index 836a708..1ffcb22 100644 --- a/hl/examples/ex_table_01.c +++ b/hl/examples/ex_table_01.c @@ -127,7 +127,10 @@ int main( void ) *------------------------------------------------------------------------- */ - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_02.c b/hl/examples/ex_table_02.c index e107754..1ef661c 100644 --- a/hl/examples/ex_table_02.c +++ b/hl/examples/ex_table_02.c @@ -121,7 +121,10 @@ int main( void ) printf ("\n"); } - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_03.c b/hl/examples/ex_table_03.c index 111ee68..af3894e 100644 --- a/hl/examples/ex_table_03.c +++ b/hl/examples/ex_table_03.c @@ -127,7 +127,10 @@ int main( void ) printf ("\n"); } - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_04.c b/hl/examples/ex_table_04.c index f10f526..10d888f 100644 --- a/hl/examples/ex_table_04.c +++ b/hl/examples/ex_table_04.c @@ -153,7 +153,10 @@ int main( void ) *------------------------------------------------------------------------- */ - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_05.c b/hl/examples/ex_table_05.c index 1fa0d93..ee671e0 100644 --- a/hl/examples/ex_table_05.c +++ b/hl/examples/ex_table_05.c @@ -164,7 +164,10 @@ int main( void ) } - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_06.c b/hl/examples/ex_table_06.c index c1eedd6..e2e1038 100644 --- a/hl/examples/ex_table_06.c +++ b/hl/examples/ex_table_06.c @@ -85,7 +85,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; 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; 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; diff --git a/hl/examples/ex_table_09.c b/hl/examples/ex_table_09.c index c8a7118..82dca3f 100644 --- a/hl/examples/ex_table_09.c +++ b/hl/examples/ex_table_09.c @@ -135,7 +135,10 @@ int main( void ) printf ("\n"); } - /* Close the file. */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; diff --git a/hl/examples/ex_table_10.c b/hl/examples/ex_table_10.c index c4df6fe3..fb11a98 100644 --- a/hl/examples/ex_table_10.c +++ b/hl/examples/ex_table_10.c @@ -127,7 +127,10 @@ int main( void ) printf ("\n"); } - /* Close the file */ + /* close type */ + H5Tclose( string_type ); + + /* close the file */ H5Fclose( file_id ); return 0; 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; 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; |