Skip to content

fix reference leak in ms_decode_bigint - #1023

Merged
jcrist merged 2 commits into
msgspec:mainfrom
provinzkraut:fix-ms-decode-bigint
Apr 13, 2026
Merged

fix reference leak in ms_decode_bigint#1023
jcrist merged 2 commits into
msgspec:mainfrom
provinzkraut:fix-ms-decode-bigint

Conversation

@provinzkraut

Copy link
Copy Markdown
Member

Fix a reference leak in ms_decode_bigint, caused by improper handling of referenced obtained via PyErr_Fetch

@provinzkraut

Copy link
Copy Markdown
Member Author

Last one of this series for now. I'll go look at something else :)

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread src/msgspec/_core.c

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jcrist
jcrist merged commit 8cea469 into msgspec:main Apr 13, 2026
22 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