Skip to content

Conversation

@illuusio
Copy link
Contributor

There is memory blocks which are not freed when leaving function pkg_fetch_file_to_fd

This commit makes sure that cleanup is called if it's available for chosen scheme and id repo is not provided and created in function then memory is freed as expected at the cleanup

This was found using LLVM version 21 lsan when debugging OSVF audit code

There is memory blocks which are not
freed when leaving function pkg_fetch_file_to_fd

This commit makes sure that cleanup is
called if it's available for chosen scheme
and id repo is not provided and created
in function then memory is freed as expected
at the cleanup
@bapt bapt merged commit 59d443a into freebsd:main Dec 11, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants