Skip to content

fix reference leak in ms_decode_bigint#1023

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

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

Conversation

@provinzkraut
Copy link
Copy Markdown
Contributor

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

@provinzkraut
Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Owner

@jcrist jcrist left a comment

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
Copy link
Copy Markdown
Owner

@jcrist jcrist left a comment

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 jcrist: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