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

Fixed memory leak in UDPForwarder.cpp #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Killeroo
Copy link

Memory leak is caused by addrinfo struct being assigned to when creating UDPForwarder (using IPv6) but not being freed after use.

Leak is relatively slow and can take a while to grow but when dealing with large traffic it is definitely noticeable. Leak was originally found within the original RakNet code base and still exists here so I thought I would submit the fix that I used that resolves the leak.

…g assigned to when creating UDPForwarder (using IPv6) but not being freed after use
exuvo added a commit to exuvo/SLikeNet that referenced this pull request Aug 30, 2022
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.

1 participant