hdf5/hl/test
Quincey Koziol bb25c85e79 [svn-r18159] Description:
Bring Coverity fixes from 1/22/10 session to trunk:

r18137:
219: Initialized hid_t to -1 and added close to error block.
189-191: Initialized line to NULL and added free line, and close fp to error block.

r18138:
19: Moved code block for printing that the number of enums is empty to the error block. (Would never have been executed otherwise)

r18139:
Fix coverity item 58.  Moved code related to displaying the parent of a repeated
group to the else(isRoot) section, as the root group has no parent.

r18140:
218: Initialized ret_value variable to -1. Because of throw Exception in default case of switch, the coverity problem would not have executed anyway. Good pratice is to initialize variables.

r18141:
Fix coverity item 92.  Added code to H5E_register_class to free cls in case of
an error.

r18142:
Fix coverity item 91.  Added code to H5E_create_msg to free msg in case of an
error.

r18143:
fixed issue 14,
took away "if" and used #ifndef_xxx.

r18144:
Fix coverity item 110.   Added code to H5Eget_minor to free msg_str in case of
an error.

r18145:
fixed coverity #18 removed "aligned", it is always NULL.

r18146:
Fix coverity item 109.   Added code to H5Eget_major to free msg_str in case of
an error.

r18147:
Fixed coverity #81 and #82, Check for bad pointer(s), but can't issue error, just leave

r18148:
Fix coverity item 97.   Added code to H5FD_fapl_open to free copied_driver_info
in case of an error.

r18149:
Fix coverity item 96.   Added code to H5FD_dxpl_open to free copied_driver_info
in case of an error.

r18150:
Fix Coverity issue #29: Protected cache_ptr dereferences with "if(pass)"
block

r18151:
Fix coverity item 93.   Added code to H5FL_fac_init to free factory and new_node
in case of an error.

r18152:
Fix coverity items 98 and 99.   Added code free allocated space in case of
error.

r18155:
124: Freed head pointer before jumping to done. There was no error handling block and normal exit used same path out.
120-123: Freed list of lists in error handling block.

r18156:
Fix coverity issues 179, 180, 181, 182, 183, 184, 186, 320, 407.  These were resource leak issues where allocated memory was not freed, generally in the case of tests that failed.

Tested on:
    Mac OS X/32 10.6.2 (amazon) debug & production
2010-01-23 02:00:00 -05:00
..
COPYING [svn-r16340] Description: 2009-01-22 15:53:59 -05:00
dsdata.txt
dslat.txt
dslon.txt
dtype_file_readable.txt
dtype_file.txt
earth.pal
gen_test_ds.c [svn-r17573] Description: 2009-10-01 14:54:12 -05:00
h5hltest.h [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice. 2007-02-07 09:56:24 -05:00
image8.txt
image24pixel.txt
image24plane.txt
Makefile.am [svn-r17616] Purpose: 2009-10-08 10:17:30 -05:00
Makefile.in [svn-r18107] bug 1673: 2010-01-12 18:58:30 -05:00
pal_rgb.h [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice. 2007-02-07 09:56:24 -05:00
sepia.pal
test_ds_be.h5 [svn-r17566] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug. 2009-10-01 11:17:17 -05:00
test_ds_le.h5 [svn-r17566] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug. 2009-10-01 11:17:17 -05:00
test_ds.c [svn-r18011] Description: 2009-12-13 00:28:30 -05:00
test_image.c [svn-r16719] clean linux warnings 2009-04-09 14:56:54 -05:00
test_lite.c [svn-r18159] Description: 2010-01-23 02:00:00 -05:00
test_packet.c [svn-r15628] Description: 2008-09-16 10:52:51 -05:00
test_table_be.hdf5
test_table_cray.hdf5
test_table_le.hdf5
test_table.c [svn-r16727] clean linux warnings 2009-04-10 11:14:49 -05:00
usa.wri