summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-08-27 17:38:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-08-27 17:38:24 (GMT)
commit19087108910ba22cd71138b8eec663cfa6bdeb1a (patch)
treed29353a5816b4fa2b5022ad55cf175a1bf698442 /src
parenteb5e01d37ca2570afc50756c9ed6a0be214502ec (diff)
downloadhdf5-19087108910ba22cd71138b8eec663cfa6bdeb1a.zip
hdf5-19087108910ba22cd71138b8eec663cfa6bdeb1a.tar.gz
hdf5-19087108910ba22cd71138b8eec663cfa6bdeb1a.tar.bz2
[svn-r621] Re-checkin memory fixes
Diffstat (limited to 'src')
-rw-r--r--src/H5Sselect.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index f790021..52c1636 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -334,19 +334,6 @@ H5S_select_hyperslab (H5S_t *space, H5S_seloper_t op,
block = _block;
}
- /* Copy all the per-dimension selection info into the space descriptor */
- if((diminfo = H5MM_malloc(sizeof(H5S_hyper_dim_t)*space->extent.u.simple.rank))==NULL) {
- HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL,
- "can't allocate per-dimension vector");
- } /* end if */
- for(i=0; i<space->extent.u.simple.rank; i++) {
- diminfo[i].start = start[i];
- diminfo[i].stride = stride[i];
- diminfo[i].count = count[i];
- diminfo[i].block = block[i];
- } /* end for */
- space->select.sel_info.hyper.diminfo = diminfo;
-
/*
* Check for overlapping blocks (remove when real block-merging algorithm
* is in place).