[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:
Quincey Koziol 2010-04-27 12:33:44 -05:00
parent 5e7595c546
commit b0d7349fe8

View File

@ -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);