mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r622] Fixed memory leak in point selections.
This commit is contained in:
parent
1908710891
commit
1100b30ddc
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user