As part of the development of a long-running service based on python-mbus, we realized that the library was leaking. This was traced to three issues:
the MBus context was not freed after deletion
the frame data was not freed and frame_data_free was not exposed
the frame_data_xml did not free the returned buffer
This pull request addresses all three issues and corrects the example accordingly.
If you have any comment or remark, we'll be happy to address those as part of this PR.
Thank you.
As part of the development of a long-running service based on python-mbus, we realized that the library was leaking. This was traced to three issues:
This pull request addresses all three issues and corrects the example accordingly. If you have any comment or remark, we'll be happy to address those as part of this PR. Thank you.