| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5a7cfccf-26cc-ba34-22cf-8238a28fc9e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8DE:3D3A2:410C69:583B95:6A4D5E3A |
| html-safe-nonce | 2bbb75850c98aee2c96410e8c55881506a409faa9bb1dc3e835feecfc554c339 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOERFOjNEM0EyOjQxMEM2OTo1ODNCOTU6NkE0RDVFM0EiLCJ2aXNpdG9yX2lkIjoiODUzNTExMTEwNTc3NjU0MTI0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b15059ce2f5304f6881cbf9a02404af86fffc240058e4311cbfbb1ac447bc56c |
| hovercard-subject-tag | pull_request:1967193371 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/msgspec/msgspec/709/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2962963ab59323cec590bb97abc8ef4f8238bf51612de667b17b873f3a27350d/msgspec/msgspec/pull/709 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2962963ab59323cec590bb97abc8ef4f8238bf51612de667b17b873f3a27350d/msgspec/msgspec/pull/709 |
| og:image:alt | Raw_New borrows a reference to its PyBytesObject argument, so Raw_Copy must still dispose of it.
The following is a minimal repro for this issue:
import msgspec
DECODER = msgspec.msgpack.Decoder(t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tjgq |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-cache |
| go-import | github.com/msgspec/msgspec git https://github.com/msgspec/msgspec.git |
| octolytics-dimension-user_id | 287455683 |
| octolytics-dimension-user_login | msgspec |
| octolytics-dimension-repository_id | 332952543 |
| octolytics-dimension-repository_nwo | msgspec/msgspec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 332952543 |
| octolytics-dimension-repository_network_root_nwo | msgspec/msgspec |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/msgspec/msgspec/pull/709#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgspec%2Fmsgspec%2Fpull%2F709 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgspec%2Fmsgspec%2Fpull%2F709 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=msgspec%2Fmsgspec |
| Reload | https://github.com/msgspec/msgspec/pull/709 |
| Reload | https://github.com/msgspec/msgspec/pull/709 |
| Reload | https://github.com/msgspec/msgspec/pull/709 |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
|
msgspec
| https://github.com/msgspec |
| msgspec | https://github.com/msgspec/msgspec |
|
Notifications
| https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec |
|
Fork
156
| https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec |
|
Star
3.9k
| https://github.com/login?return_to=%2Fmsgspec%2Fmsgspec |
|
Code
| https://github.com/msgspec/msgspec |
|
Issues
185
| https://github.com/msgspec/msgspec/issues |
|
Pull requests
22
| https://github.com/msgspec/msgspec/pulls |
|
Actions
| https://github.com/msgspec/msgspec/actions |
|
Security and quality
0
| https://github.com/msgspec/msgspec/security |
|
Insights
| https://github.com/msgspec/msgspec/pulse |
|
Code
| https://github.com/msgspec/msgspec |
|
Issues
| https://github.com/msgspec/msgspec/issues |
|
Pull requests
| https://github.com/msgspec/msgspec/pulls |
|
Actions
| https://github.com/msgspec/msgspec/actions |
|
Security and quality
| https://github.com/msgspec/msgspec/security |
|
Insights
| https://github.com/msgspec/msgspec/pulse |
| jcrist | https://github.com/jcrist |
| msgspec:main | https://github.com/msgspec/msgspec/tree/main |
| tjgq:leak | https://github.com/tjgq/msgspec/tree/leak |
| Conversation | https://github.com/msgspec/msgspec/pull/709 |
| Commits2 (2) | https://github.com/msgspec/msgspec/pull/709/commits |
| Checks | https://github.com/msgspec/msgspec/pull/709/checks |
| Files changed | https://github.com/msgspec/msgspec/pull/709/files |
| Fix memory leak in Raw.copy(). | https://github.com/msgspec/msgspec/pull/709#top |
| jcrist | https://github.com/jcrist |
| msgspec:main | https://github.com/msgspec/msgspec/tree/main |
| tjgq:leak | https://github.com/tjgq/msgspec/tree/leak |
|
| https://github.com/tjgq |
| tjgq | https://github.com/tjgq |
| Jul 12, 2024 | https://github.com/msgspec/msgspec/pull/709#issue-2406192534 |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
| https://github.com/tjgq |
| tjgq | https://github.com/tjgq |
| July 12, 2024 19:15 | https://github.com/msgspec/msgspec/pull/709#event-13491367254 |
| https://github.com/tjgq |
| tjgq | https://github.com/tjgq |
| force-pushed | https://github.com/msgspec/msgspec/compare/0e4ab56eb4ae8740ef1b21130eb35eef290c40cf..b08b1c1be56cbfa2d360a5876115a4c51c439c32 |
| 0e4ab56 | https://github.com/msgspec/msgspec/commit/0e4ab56eb4ae8740ef1b21130eb35eef290c40cf |
| b08b1c1 | https://github.com/msgspec/msgspec/commit/b08b1c1be56cbfa2d360a5876115a4c51c439c32 |
|
Compare
| https://github.com/msgspec/msgspec/compare/0e4ab56eb4ae8740ef1b21130eb35eef290c40cf..b08b1c1be56cbfa2d360a5876115a4c51c439c32 |
| July 15, 2024 11:08 | https://github.com/msgspec/msgspec/pull/709#event-13503857970 |
| https://github.com/tjgq |
| tjgq | https://github.com/tjgq |
| Jul 15, 2024 | https://github.com/msgspec/msgspec/pull/709#issuecomment-2228246254 |
| @jcrist | https://github.com/jcrist |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
| tjgq | https://github.com/tjgq |
| October 13, 2024 12:41 | https://github.com/msgspec/msgspec/pull/709#commits-pushed-d2a8288 |
|
| https://github.com/tjgq |
|
| https://github.com/jcrist |
| Fix memory leak in Raw.copy(). | https://github.com/msgspec/msgspec/pull/709/commits/d2a8288ce3f6193e25dca8bea8ff56dea7519c3d |
| d2a8288 | https://github.com/msgspec/msgspec/pull/709/commits/d2a8288ce3f6193e25dca8bea8ff56dea7519c3d |
|
| https://github.com/jcrist |
| Add test for raw copy memleak | https://github.com/msgspec/msgspec/pull/709/commits/15a62bffffd698c76cdf2a7177ca7589e56abd3b |
| 15a62bf | https://github.com/msgspec/msgspec/pull/709/commits/15a62bffffd698c76cdf2a7177ca7589e56abd3b |
| https://github.com/jcrist |
| jcrist | https://github.com/jcrist |
| force-pushed | https://github.com/msgspec/msgspec/compare/b08b1c1be56cbfa2d360a5876115a4c51c439c32..15a62bffffd698c76cdf2a7177ca7589e56abd3b |
| b08b1c1 | https://github.com/msgspec/msgspec/commit/b08b1c1be56cbfa2d360a5876115a4c51c439c32 |
| 15a62bf | https://github.com/msgspec/msgspec/commit/15a62bffffd698c76cdf2a7177ca7589e56abd3b |
|
Compare
| https://github.com/msgspec/msgspec/compare/b08b1c1be56cbfa2d360a5876115a4c51c439c32..15a62bffffd698c76cdf2a7177ca7589e56abd3b |
| October 13, 2024 17:42 | https://github.com/msgspec/msgspec/pull/709#event-14620207814 |
| https://github.com/jcrist |
| jcrist | https://github.com/jcrist |
| 51a261c | https://github.com/msgspec/msgspec/commit/51a261c5a4e550ec94e417c73da21596a010aae0 |
| Oct 13, 2024 | https://github.com/msgspec/msgspec/pull/709#event-14620225681 |
| https://github.com/jcrist |
| jcrist | https://github.com/jcrist |
| Oct 13, 2024 | https://github.com/msgspec/msgspec/pull/709#issuecomment-2409066383 |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
| https://github.com/Siyet |
| Siyet | https://github.com/Siyet |
|
Jul 2, 2026
| https://github.com/msgspec/msgspec/pull/709#ref-pullrequest-4794051182 |
|
Fix reference leak when decoding msgpack Ext payloads
#1109
| https://github.com/msgspec/msgspec/pull/1109 |
| pull | https://github.com/apps/pull |
|
Jul 2, 2026
| https://github.com/msgspec/msgspec/pull/709#ref-commit-4440c96 |
|
| https://github.com/Siyet |
| Fix reference leak when decoding msgpack Ext payloads ( | https://github.com/Future-Outlier/msgspec/commit/4440c96b9da0dd15c4bd40abfb8be5cdfe6e23ca |
| msgspec#1109 | https://github.com/msgspec/msgspec/pull/1109 |
| ) | https://github.com/Future-Outlier/msgspec/commit/4440c96b9da0dd15c4bd40abfb8be5cdfe6e23ca |
| 4440c96 | https://github.com/Future-Outlier/msgspec/commit/4440c96b9da0dd15c4bd40abfb8be5cdfe6e23ca |
| msgspec#1108 | https://github.com/msgspec/msgspec/issues/1108 |
| msgspec#709 | https://github.com/msgspec/msgspec/pull/709 |
| @K-ANOY | https://github.com/K-ANOY |
| https://github.co/hiddenchars |
| https://github.com/msgspec/msgspec/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgspec%2Fmsgspec%2Fpull%2F709 |
| Please reload this page | https://github.com/msgspec/msgspec/pull/709 |
|
| https://github.com/tjgq |
|
| https://github.com/jcrist |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |