X Tutup
Skip to content

[3.14] gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat (GH-140602)#140629

Merged
picnixz merged 2 commits intopython:3.14from
hartwork:backport-e34a5e3-3.14
Oct 26, 2025
Merged

[3.14] gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat (GH-140602)#140629
picnixz merged 2 commits intopython:3.14from
hartwork:backport-e34a5e3-3.14

Conversation

@hartwork
Copy link
Contributor

@hartwork hartwork commented Oct 26, 2025

…Handler` of `pyexpat` (pythonGH-140602)

Ensure that the memory allocated for the content model
passed to `my_ElementDeclHandler` is freed in all error
paths.
(cherry picked from commit e34a5e3)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
@hartwork hartwork changed the title [3.14] gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat (GH-140602) [3.14] gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat (GH-140602) Oct 26, 2025
@picnixz picnixz enabled auto-merge (squash) October 26, 2025 15:04
@picnixz picnixz merged commit 842c49b into python:3.14 Oct 26, 2025
52 checks passed
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.

2 participants

X Tutup