summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-10-20 22:05:28 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-10-20 22:05:28 (GMT)
commit7ad885febcb3034fceab36d63514c8ea3fb70b61 (patch)
tree977acb65c30fa03e5b32e1f4239f6266f6eee536
parent01a198ac1b16453fd7f09025bb5cf678af5e7939 (diff)
downloadhdf5-7ad885febcb3034fceab36d63514c8ea3fb70b61.zip
hdf5-7ad885febcb3034fceab36d63514c8ea3fb70b61.tar.gz
hdf5-7ad885febcb3034fceab36d63514c8ea3fb70b61.tar.bz2
[svn-r28151] Fix memory leak in dtransform test (encountered when parsing an invalid
transform). Tested: koala, ostrich (h5committest)
-rw-r--r--src/H5Ztrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Ztrans.c b/src/H5Ztrans.c
index 42d6ceb..0a9a4da 100644
--- a/src/H5Ztrans.c
+++ b/src/H5Ztrans.c
@@ -748,6 +748,7 @@ H5Z_parse_term(H5Z_token *current, H5Z_datval_ptrs* dat_val_pointers)
case H5Z_XFORM_ERROR:
default:
+ H5Z_xform_destroy_parse_tree(term);
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, NULL, "bad transform type passed to data transform expression")
} /* end switch */
} /* end for */