Skip to content

Memory leak in _struct module  #94207

Description

@kumaraditya303

Reproducer:

import _struct; _struct.calcsize('b')

Memory Leak:

./python -X showrefcount main.py
[367 refs, 150 blocks]

Commit tested: 27b9894

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10only security fixes3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions