summaryrefslogtreecommitdiffstats
path: root/test/dtransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtransform.c')
-rw-r--r--test/dtransform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dtransform.c b/test/dtransform.c
index 8f6ebd3..ac5a3c2 100644
--- a/test/dtransform.c
+++ b/test/dtransform.c
@@ -586,8 +586,10 @@ int test_set(void)
{
H5_FAILED();
fprintf(stderr, " ERROR: Data transform get before set succeeded (it shouldn't have)\n");
+ free(ptrgetTest);
goto error;
}
+ free(ptrgetTest);
TESTING("H5Pset_data_transform (set with NULL transform)");
INVALID_SET_TEST(NULL);