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

main: Use slist for fhs delete list. #1082

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

Lastique
Copy link
Contributor

This fixes a potential memory leak in fd_close, if reallocating mbuf in fhsld delete list fails. Switching the delete list implementation to a single-linked list allows to avoid dynamic memory allocation (and the associated point of failure) in fd_close.

This fixes a potential memory leak in fd_close, if reallocating
mbuf in fhsld delete list fails. Switching the delete list
implementation to a single-linked list allows to avoid dynamic memory
allocation (and the associated point of failure) in fd_close.
@sreimers sreimers merged commit 45611b9 into baresip:main Mar 12, 2024
36 checks passed
@Lastique Lastique deleted the feature/fhsld_slist branch March 12, 2024 20:19
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