OLSR / olsrd

OLSR.org main repository - olsrd v1 - maintained by Freifunk Berlin
Other
83 stars 65 forks source link

Memory leak in remove_interface function? #112

Open PolynomialDivision opened 2 years ago

PolynomialDivision commented 2 years ago

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 commented 3 weeks ago

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