Releases memory allocated in the process of reading variable-length packets.
H5PT_FREE_VLEN_BUFF(table_id, bufflen, buff)
herr_t H5PTfree_vlen_buff(hid_t table_id, hsize_t bufflen, void * buff)
IN: Packet table whose memory should be freed.
IN: Size of buff.
void * buff
IN: Buffer that was used to read in variable-length packets.
When variable-length packets are read, memory is automatically allocated to hold them, and must be freed. H5PTfree_vlen_buff frees this memory, and should be called whenever packets are read from a variable-length packet table.
Returns a non-negative value on success or a negative value on error.
|1.10.0 and 1.8.17 ||Function re-introduced. Function had been removed in 1.8.3.|
--- Last Modified: December 04, 2017 | 07:23 AM