summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2020-12-20 04:30:05 (GMT)
committerGitHub <noreply@github.com>2020-12-20 04:30:05 (GMT)
commit5e1ae415b8e84f8e95cf5f88a63fdcbba3dd2f6e (patch)
tree61515952d3bcea8d4a6ffc72c0e4a6f3b93a1a81 /hl
parent3c7b2ab5db81942024a168343cee4c8418d0a0e8 (diff)
downloadhdf5-5e1ae415b8e84f8e95cf5f88a63fdcbba3dd2f6e.zip
hdf5-5e1ae415b8e84f8e95cf5f88a63fdcbba3dd2f6e.tar.gz
hdf5-5e1ae415b8e84f8e95cf5f88a63fdcbba3dd2f6e.tar.bz2
Fixes a minor memory leak in hl/test/test_file_image.c (#209)
Diffstat (limited to 'hl')
-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);