-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix memory leak on NetworkInterface destruction #11649
Fix memory leak on NetworkInterface destruction #11649
Conversation
@ARMmbed/mbed-os-maintainers Please prioritise this as it fixes a potential memory leak |
@michalpasztamobica, thank you for your changes. |
@adbridge I already approved, but approval is gone now after robot did "ciarmcom requested review from ..."? |
@AnttiKauppila there's a known issue there that I haven't had time to look at yet. |
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Greentea test was CI internal problem. Now fixed and test restarted. |
I'm sorry, but again, I fail to see the failure... EDIT: nevermind, @OPpuolitaival , thanks for clarifying. |
@michalpasztamobica see my comment |
@ARMmbed/mbed-os-maintainers These CI checks here have been waiting for status for the last 2 days. They might need a little bit of attention.
|
c11aed1
to
169d718
Compare
Pending on #11678 |
I'll check shortly this one and this should proceed |
We dynamically allocate memory in every add_event_listener(), but we do not free it on NetworkInterface destruction.
169d718
to
3d59646
Compare
Rebased on top of the travis fix. Hopefully CI will pass now 😃 |
doxy-spellcheck passed. |
Ci started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
We dynamically allocate memory in every add_event_listener(), but we did not free it on NetworkInterface destruction.
Found with the unittests update in #11612
Pull request type
Reviewers
@AnttiKauppila
@kjbracey-arm
@SeppoTakalo
@VeijoPesonen