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

Fix memory leak when creating FastqRecordArrayView #189

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

rhpvorderman
Copy link
Owner

@rhpvorderman rhpvorderman commented Aug 12, 2024

Checklist

  • Pull request details were added to CHANGELOG.rst
  • Documentation was updated (if needed)

By using a custom PyObject_NewVar function the arrayview was created without the proper refcount as Py_SET_REFCNT was changed in Python 3.12 to not touch immortal objects.

@rhpvorderman rhpvorderman changed the title Fix memory leak and wrong allocation size when creating FastqRecordArrayView Fix memory leak when creating FastqRecordArrayView Aug 12, 2024
@rhpvorderman rhpvorderman changed the base branch from develop to main August 12, 2024 07:51
@rhpvorderman rhpvorderman changed the base branch from main to develop August 12, 2024 07:51
@rhpvorderman rhpvorderman merged commit fe05cff into develop Aug 12, 2024
18 checks passed
@rhpvorderman rhpvorderman deleted the fixmemoryleak branch August 12, 2024 08:30
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.

1 participant