diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-13 19:17:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-13 19:17:29 (GMT) |
commit | 92b37616d2a1ec34a2d7bd34d05c5f6466f7da53 (patch) | |
tree | 782bdfeee57df4a5fc673c47c1917e92f6262468 /src/H5C.c | |
parent | 5e435bd8ac0b1d59a2c8461b960434b49b50a25f (diff) | |
download | hdf5-92b37616d2a1ec34a2d7bd34d05c5f6466f7da53.zip hdf5-92b37616d2a1ec34a2d7bd34d05c5f6466f7da53.tar.gz hdf5-92b37616d2a1ec34a2d7bd34d05c5f6466f7da53.tar.bz2 |
[svn-r17354] Description:
Bring r17351 from trunk to 1.8 branch:
Clean up code (to align w/future sblock_mdc branch changes), tweak
tests for [slightly] easier debugging, fix memory leak when copying chunked
datasets with I/O filters, fix memory leak of free space section when it was
exactly the right size to use for extending an existing block in the file.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committest performed on trunk)
Diffstat (limited to 'src/H5C.c')
-rw-r--r-- | src/H5C.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6202,6 +6202,10 @@ H5C_protect(H5F_t * f, if ( entry_ptr != NULL ) { + /* Check for trying to load the wrong type of entry from an address */ + if(entry_ptr->type != type) + HGOTO_ERROR(H5E_CACHE, H5E_BADTYPE, NULL, "not a dataset creation property list") + hit = TRUE; thing = (void *)entry_ptr; |