summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/test_file_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/test/test_file_image.c b/hl/test/test_file_image.c
index 712107e..e1ee02d 100644
--- a/hl/test/test_file_image.c
+++ b/hl/test/test_file_image.c
@@ -506,6 +506,8 @@ test_file_image(size_t open_images, size_t nflags, unsigned *flags)
} /* end for */
/* release temporary working buffers */
+ for (i = 0; i < open_images; i++)
+ HDfree(filename[i]);
HDfree(filename);
HDfree(file_id);
HDfree(dset_id);