diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-08-27 17:56:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-08-27 17:56:50 (GMT) |
commit | 1100b30ddcc9372533d977b50e91b46afb3b48d5 (patch) | |
tree | f33071b6c9f8f28f2f6727f0156224625a0ddd02 | |
parent | 19087108910ba22cd71138b8eec663cfa6bdeb1a (diff) | |
download | hdf5-1100b30ddcc9372533d977b50e91b46afb3b48d5.zip hdf5-1100b30ddcc9372533d977b50e91b46afb3b48d5.tar.gz hdf5-1100b30ddcc9372533d977b50e91b46afb3b48d5.tar.bz2 |
[svn-r622] Fixed memory leak in point selections.
-rw-r--r-- | src/H5Spoint.c | 4 |
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; |