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

gh-131311: Fix additional memory leaks in ctypes #131429

Merged

Conversation

sergey-miryanov
Copy link
Contributor

See updated gh-131311 for description.

- as discussed in previous PR
@sergey-miryanov sergey-miryanov force-pushed the gh-131311-fix-memory-leaks-in-ctypes branch from 853490a to f27c11a Compare March 20, 2025 12:57
@sergey-miryanov
Copy link
Contributor Author

Sorry I force-pushed because did wrong revert commit. Will try to avoid this further.

@encukou encukou merged commit 9c4fb92 into python:main Mar 24, 2025
74 of 81 checks passed
@encukou
Copy link
Member

encukou commented Mar 24, 2025

Thank you!

diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
* Visit keep in StructParam_traverse
* Decref swapped in PyCSimpleType_init
* Decref ob in make_funcptrtype_dict
* Check Pointer_item result while constructing result list in Pointer_subscript

* Fix align and size naming in PyCStructUnionType_update_stginfo
  - as discussed in previous PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants