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

Memory leak in remove_interface function? #112

Open
PolynomialDivision opened this issue Feb 13, 2022 · 1 comment
Open

Memory leak in remove_interface function? #112

PolynomialDivision opened this issue Feb 13, 2022 · 1 comment

Comments

@PolynomialDivision
Copy link
Collaborator

In set_default_ifcnfs, we do ifs->cnf = olsr_malloc(sizeof(struct if_config_options),"Set default config");. However, that is not freed in the remove function? https://github.com/OLSR/olsrd/blob/master/src/interfaces.c#L379

@mathiashro
Copy link
Contributor

@PolynomialDivision , do you mind providing a PR / patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants