diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-08-21 19:45:36 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-08-21 19:45:36 (GMT) |
commit | 18d574106c5eaeb7addd6fa6b28d5197cedce992 (patch) | |
tree | 71b66031947de38674867f1826f60a8c872eb1d8 /src/H5Spoint.c | |
parent | 60d3b3091764c2ec9bede45aeacb6b2da1fa22d8 (diff) | |
parent | e53af0ed745a7bec1795681c473ba54025814fd5 (diff) | |
download | hdf5-18d574106c5eaeb7addd6fa6b28d5197cedce992.zip hdf5-18d574106c5eaeb7addd6fa6b28d5197cedce992.tar.gz hdf5-18d574106c5eaeb7addd6fa6b28d5197cedce992.tar.bz2 |
[svn-r22704] merge from trunk up to 22703.
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r-- | src/H5Spoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c index 817b2f2..b758a92 100644 --- a/src/H5Spoint.c +++ b/src/H5Spoint.c @@ -643,7 +643,7 @@ H5S_point_copy(H5S_t *dst, const H5S_t *src, hbool_t UNUSED share_selection) } /* end while */ done: - if(ret_value < 0) { + if(ret_value < 0 && dst->select.sel_info.pnt_lst) { /* Traverse the (incomplete?) dst list, freeing all memory */ curr = dst->select.sel_info.pnt_lst->head; while(curr) { |