diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 20:20:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 20:20:35 (GMT) |
commit | 8a27e4f4a6a624931ba0b86444e8f21e8d735888 (patch) | |
tree | 9d82d6116ce2eb20be8f9a45ce468fd717ea2215 /src/H5Groot.c | |
parent | 97f8b83e2d35fe3be71217977b339077cbbd46d8 (diff) | |
download | hdf5-8a27e4f4a6a624931ba0b86444e8f21e8d735888.zip hdf5-8a27e4f4a6a624931ba0b86444e8f21e8d735888.tar.gz hdf5-8a27e4f4a6a624931ba0b86444e8f21e8d735888.tar.bz2 |
[svn-r18601] Description:
Bring r18581:18600 from trunk to revise_chunks branch.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(h5committest not required on this branch)
Diffstat (limited to 'src/H5Groot.c')
-rw-r--r-- | src/H5Groot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Groot.c b/src/H5Groot.c index 1110b19..7470853 100644 --- a/src/H5Groot.c +++ b/src/H5Groot.c @@ -123,7 +123,7 @@ H5G_mkroot(H5F_t *f, hid_t dxpl_id, hbool_t create_root) if(NULL == (f->shared->root_grp = H5FL_CALLOC(H5G_t))) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed") if(NULL == (f->shared->root_grp->shared = H5FL_CALLOC(H5G_shared_t))) { - (void)H5FL_FREE(H5G_t, f->shared->root_grp); + f->shared->root_grp = H5FL_FREE(H5G_t, f->shared->root_grp); HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed") } /* end if */ |