Skip to content

Bugfix: memory leaks are prevented#18

Merged
rscada merged 4 commits intorscada:masterfrom
neurobat:next
Sep 17, 2016
Merged

Bugfix: memory leaks are prevented#18
rscada merged 4 commits intorscada:masterfrom
neurobat:next

Conversation

@cgrigis
Copy link
Copy Markdown
Contributor

@cgrigis cgrigis commented Sep 5, 2016

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.

Christian Grigis and others added 4 commits September 2, 2016 15:11
@cgrigis
Copy link
Copy Markdown
Contributor Author

cgrigis commented Sep 5, 2016

As a separate note, we're wondering if you'd be interested in sharing this package through PyPI.
We'd be happy to assist in that direction.

@rscada
Copy link
Copy Markdown
Owner

rscada commented Sep 17, 2016

Thanks for the fixes!

Also, having this package on PyPI is fine with me.

@rscada rscada merged commit 8e26c18 into rscada:master Sep 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants