-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Mellanox] Fix the memory leak in mlnx-sfpd #3128
Conversation
…vention new_<type_name> should be release explicitly via delete_<type_name>.
@jleveque , we should do pmon memory limit so that it won't impact other services in sonic. |
can you identify which branch are affected? |
|
PR#3131 for 201807 |
* fix the memory leak in on_pmpe. objects created via sx_api having convention new_<type_name> should be release explicitly via delete_<type_name>. * avoid duplicate code.
- What I did
Fix the memory leak in mlnx-sfpd.
- How I did it
Fix the memory leak in mlnx-sfpd::on_pmpe.
- How to verify it
reset an SFP module, and then:
- Description for the changelog
[Mellanox] Fix the memory leak in mlnx-sfpd
- A picture of a cute animal (not mandatory but encouraged)