summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/tconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tconfig.c b/test/tconfig.c
index 902cad5..73197653 100644
--- a/test/tconfig.c
+++ b/test/tconfig.c
@@ -214,6 +214,8 @@ test_config_malloc(void)
"expected non-NULL, got NULL\n");
num_errs++;
}
+
+ free(pt);
#else
if (pt!=NULL){
print_func("Error verifying H5_MALLOC_WORKS: "