summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Fparams.java
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2024-02-26 16:52:33 (GMT)
committerGitHub <noreply@github.com>2024-02-26 16:52:33 (GMT)
commit221e4295788d3e5d2a8afe147c8127e8cf40732f (patch)
tree778206bdf7aa6464f487d859647bcc104c04a298 /java/test/TestH5Fparams.java
parent560e80c0ad8494a2e070aafde9cbcff11de99219 (diff)
downloadhdf5-221e4295788d3e5d2a8afe147c8127e8cf40732f.zip
hdf5-221e4295788d3e5d2a8afe147c8127e8cf40732f.tar.gz
hdf5-221e4295788d3e5d2a8afe147c8127e8cf40732f.tar.bz2
Fix memory leak in H5LTopen_file_image when H5LT_FILE_IMAGE_DONT_COPY flag is used (#4021)
When the H5LT_FILE_IMAGE_DONT_COPY flag is passed to H5LTopen_file_image, the internally-allocated udata structure gets leaked as the core file driver doesn't have a way to determine when or if it needs to call the 'udata_free' callback. This has been fixed by freeing the udata structure when the 'image_free' callback gets made during file close, where the file is holding the last reference to the udata structure.
Diffstat (limited to 'java/test/TestH5Fparams.java')
0 files changed, 0 insertions, 0 deletions