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

fixing a possible memory leak. #341

Merged
merged 1 commit into from Nov 10, 2020
Merged

fixing a possible memory leak. #341

merged 1 commit into from Nov 10, 2020

Conversation

ihsinme
Copy link
Contributor

@ihsinme ihsinme commented Nov 9, 2020

the form of using the realloc function can lead to the loss of a pointer to previously allocated memory.

the suggested fixes will eliminate this issue.

@wcawijngaards wcawijngaards merged commit 140ab1f into NLnetLabs:master Nov 10, 2020
wcawijngaards added a commit that referenced this pull request Nov 10, 2020
- Fix #341: fixing a possible memory leak.
@wcawijngaards
Copy link
Member

Thanks! Applied your fix, it only runs once at the start of the program so that would not really impact operations, but it is good to fix the error case.

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.

None yet

2 participants