summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-27 17:33:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-27 17:33:44 (GMT)
commitb0d7349fe8a075bc6fd354d2b8afa1362b6de88b (patch)
tree4eb2a2256252b3278b77554463526e44d48366e6
parent5e7595c546160dada7537287b724177ff24041d2 (diff)
downloadhdf5-b0d7349fe8a075bc6fd354d2b8afa1362b6de88b.zip
hdf5-b0d7349fe8a075bc6fd354d2b8afa1362b6de88b.tar.gz
hdf5-b0d7349fe8a075bc6fd354d2b8afa1362b6de88b.tar.bz2
[svn-r18632] Description:
Clean up memory leak in test code. Tested on: Linux/64 2.4 (amani) w/debug & valgrind
-rw-r--r--test/fheap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fheap.c b/test/fheap.c
index 26bcaec..314b9ce 100644
--- a/test/fheap.c
+++ b/test/fheap.c
@@ -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);