summaryrefslogtreecommitdiffstats
path: root/src/H5Groot.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-08-13 19:17:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-08-13 19:17:29 (GMT)
commit92b37616d2a1ec34a2d7bd34d05c5f6466f7da53 (patch)
tree782bdfeee57df4a5fc673c47c1917e92f6262468 /src/H5Groot.c
parent5e435bd8ac0b1d59a2c8461b960434b49b50a25f (diff)
downloadhdf5-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/H5Groot.c')
-rw-r--r--src/H5Groot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Groot.c b/src/H5Groot.c
index b8a1468..9d3fc6f 100644
--- a/src/H5Groot.c
+++ b/src/H5Groot.c
@@ -13,7 +13,7 @@
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
- /*-------------------------------------------------------------------------
+/*-------------------------------------------------------------------------
*
* Created: H5Gobj.c
* Apr 8 2009
@@ -107,7 +107,7 @@ H5G_root_ent_decode(H5F_t *f, const uint8_t **pp)
/* Allocate space for the root group symbol table entry */
HDassert(!f->shared->root_ent);
- if(NULL == (f->shared->root_ent = (H5G_entry_t *) H5MM_calloc(sizeof(H5G_entry_t))))
+ if(NULL == (f->shared->root_ent = (H5G_entry_t *)H5MM_calloc(sizeof(H5G_entry_t))))
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, FAIL, "can't allocate space for symbol table entry")
/* decode the root group symbol table entry */