From 19087108910ba22cd71138b8eec663cfa6bdeb1a Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 27 Aug 1998 12:38:24 -0500 Subject: [svn-r621] Re-checkin memory fixes --- src/H5Sselect.c | 13 ------------- 1 file changed, 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; iextent.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). -- cgit v0.12