[3.14] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat` (GH-140602) (#140629)
[3.14] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat` (GH-140602) Ensure that the memory allocated for the content model passed to `my_ElementDeclHandler` is freed in all error paths. (cherry picked from commit e34a5e33049ce845de646cf24a498766a2da3586)
S
Sebastian Pipping committed
842c49b35432a5f0bcbe1145f0f8cea904249cd4
Parent: 30ee67b
Committed by GitHub <noreply@github.com>
on 10/26/2025, 3:19:18 PM