summaryrefslogtreecommitdiffstats
path: root/src/H5Spoint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-08-12 02:20:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-08-12 02:20:43 (GMT)
commitcd5ad177a23698c1daf6fb8c4195336865d795d2 (patch)
tree13720372b8dcf964d99cbec2d7ff5de1bdbdd565 /src/H5Spoint.c
parentcd3f42096b9a957e37c9df48aa0d31d9ed4bc537 (diff)
downloadhdf5-cd5ad177a23698c1daf6fb8c4195336865d795d2.zip
hdf5-cd5ad177a23698c1daf6fb8c4195336865d795d2.tar.gz
hdf5-cd5ad177a23698c1daf6fb8c4195336865d795d2.tar.bz2
[svn-r22669] Description:
Merge r22634:2266 from trunk to revise_chunks branch Tested on: Mac OSX/64 10.7.4 (amazon) w/debug, gcc-4.7.x, C++, FORTRAN and threadsafe (h5committest not needed on this branch)
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r--src/H5Spoint.c2
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) {