summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Spoint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c
index a2fac8d..166721b 100644
--- a/src/H5Spoint.c
+++ b/src/H5Spoint.c
@@ -663,6 +663,10 @@ H5S_point_release (H5S_t *space)
curr=next;
} /* end while */
+ /* Free & reset the point list header */
+ H5MM_xfree(space->select.sel_info.pnt_lst);
+ space->select.sel_info.pnt_lst=NULL;
+
/* Reset the number of elements in the selection */
space->select.num_elem=0;