summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-07-05 15:43:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-07-05 15:43:22 (GMT)
commit18d75c9985a750e547d80f4b19c881ede4ed5625 (patch)
tree084dbdc98359213d3cc32a0b64b4b6a66c42fd1f /src/H5Dcontig.c
parent4040ae4232a2e717e5503b3b069b7561e897085a (diff)
downloadhdf5-18d75c9985a750e547d80f4b19c881ede4ed5625.zip
hdf5-18d75c9985a750e547d80f4b19c881ede4ed5625.tar.gz
hdf5-18d75c9985a750e547d80f4b19c881ede4ed5625.tar.bz2
[svn-r13942] Description:
Minor code & comment cleanups Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index ac5cd50..c83a88b 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -259,9 +259,8 @@ H5D_contig_fill(H5D_t *dset, hid_t dxpl_id)
done:
/* Release the fill buffer info, if it's been initialized */
- if(fb_info_init)
- if(H5D_fill_term(&fb_info) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "Can't release fill buffer info")
+ if(fb_info_init && H5D_fill_term(&fb_info) < 0)
+ HDONE_ERROR(H5E_DATASET, H5E_CANTFREE, FAIL, "Can't release fill buffer info")
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D_contig_fill() */