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 on plugin load failure #101

Open
ossama-othman opened this issue Jan 15, 2021 · 0 comments
Open

Memory leak on plugin load failure #101

ossama-othman opened this issue Jan 15, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ossama-othman
Copy link
Member

ossama-othman commented Jan 15, 2021

A quick leak check through valgrind reveals a small memory leak at process exit on plugin load failure:

==11756== 40 bytes in 1 blocks are definitely lost in loss record 19 of 25
==11756==    at 0x4839809: malloc (vg_replace_malloc.c:307)
==11756==    by 0x48608FD: l_malloc (util.c:62)
==11756==    by 0x4865D26: watch_add (main.c:144)
==11756==    by 0x4867158: l_io_new (io.c:191)
==11756==    by 0x486BC54: l_genl_new (genl.c:1140)
==11756==    by 0x10D59F: mptcpd_pm_create (path_manager.c:1166)
==11756==    by 0x10B62E: main (mptcpd.c:58)

Originally posted by @ossama-othman in #98 (comment)

@ossama-othman ossama-othman added the bug Something isn't working label Jan 15, 2021
@ossama-othman ossama-othman self-assigned this Jan 15, 2021
@ossama-othman ossama-othman added this to the Q1-2021 milestone Jan 24, 2021
@ossama-othman ossama-othman modified the milestones: Q1-2021, Q2-2021 Apr 6, 2021
@ossama-othman ossama-othman modified the milestones: Q2-2021, Q3-2021, Q4-2021 Sep 16, 2021
@ossama-othman ossama-othman modified the milestones: Q4-2021, Q1-2022 Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant