-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
If GetFileVersionInfoW
or VerQueryValueW
fails inside _sys_getwindowsversion_from_kernel32
then allocated verblock
not freed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
- gh-133597: Fix memory leak if error occurred in _sys_getwindowsversion_from_kernel32 #133598
- [3.14] gh-133597: Fix memory leak if error occurred in _sys_getwindowsversion_from_kernel32 (GH-133598) #133659
- [3.13] gh-133597: Fix memory leak if error occurred in _sys_getwindowsversion_from_kernel32 (GH-133598) #133660
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error