Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcoll/vulcan: fix memory leak #12803

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

edgargabriel
Copy link
Member

we didn't free the fh->f_aggr_list array in the vulcan file_write_all file. Thanks @andymwood for reporting the issue and @ggouaillardet for identifying the cause of the leak. I followed in this pr the pattern that we used for the other variables (i.e. free the array and set the pointer to NULL) to have some uniformity.

Tested on main with the ompi-tests file testsuite, and through a manual backport to 5.0.3 with the hdf5 testsuite (current main does not work for hdf5 because of issue #12742)

Will have to be backported to 4.1.x and 5.0.x branches.

Fixes Issue #12677 (at least partially)

we didn't correctly free the fh->f_aggr_list array in the vulcan file_write_all file.
Thanks @andymwood for reporting the issue and @ggouaillardet for identifying the cause for the leak.

Fixes Issue open-mpi#12677 (at least partially)

Signed-off-by: Edgar Gabriel <edgar.gabriel@amd.com>
@janjust janjust merged commit 20d2335 into open-mpi:main Sep 10, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants