diff options
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r-- | src/H5Shyper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index 2fe79aa..59858fe 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -3082,7 +3082,7 @@ H5S_hyper_add_span_element(H5S_t *space, unsigned rank, hssize_t *coords) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span"); /* Set the reference count */ - head->count=0; + head->count=1; /* Reset the scratch pad space */ head->scratch=0; |