mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r18632] Description:
Clean up memory leak in test code. Tested on: Linux/64 2.4 (amani) w/debug & valgrind
This commit is contained in:
parent
5e7595c546
commit
b0d7349fe8
@ -15608,6 +15608,9 @@ test_write(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam)
|
||||
if(H5Fclose(file) < 0)
|
||||
FAIL_STACK_ERROR
|
||||
|
||||
/* Free resources */
|
||||
if(tparam->comp == FHEAP_TEST_COMPRESS)
|
||||
H5O_msg_reset(H5O_PLINE_ID, &tmp_cparam.pline); /* Release the I/O pipeline filter information */
|
||||
|
||||
/* Free resources */
|
||||
H5MM_xfree(keep_ids.ids);
|
||||
|
Loading…
Reference in New Issue
Block a user