René's URL Explorer Experiment


Title: Fix #12724 FN: resourceLeak (allocation result in variable, regression) by chrchr-github · Pull Request #8215 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Fix #12724 FN: resourceLeak (allocation result in variable, regression) by chrchr-github · Pull Request #8215 · cppcheck-opensource/cppcheck

X Title: Fix #12724 FN: resourceLeak (allocation result in variable, regression) by chrchr-github · Pull Request #8215 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/8215

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0f3e2232-9149-128d-d32c-7965cda6506e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id923C:C3948:98690E:D61CD5:6A4E810F
html-safe-nonce0f6cfc8bb3b9dd663b11d03a6a544da3e96a8711345b48d4f77ec70a84db1df3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNDOkMzOTQ4Ojk4NjkwRTpENjFDRDU6NkE0RTgxMEYiLCJ2aXNpdG9yX2lkIjoiNTgxMTg4ODkyNTY5ODg1MTA4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaa8a187bb7ac902b769304599abcb33a6197e489073fba8a17d50cf919d15002
hovercard-subject-tagpull_request:3281287757
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/8215/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd683fcbc8634f8e382b7173e3172f32e5947b824294cf6ecb35540d8645ecf2/cppcheck-opensource/cppcheck/pull/8215
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd683fcbc8634f8e382b7173e3172f32e5947b824294cf6ecb35540d8645ecf2/cppcheck-opensource/cppcheck/pull/8215
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrchr-github
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/8215#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8215
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8215
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=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8215
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8215
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/8215
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_12724https://github.com/chrchr-github/cppcheck/tree/chr_12724
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/8215
Commits10 (10)https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/8215/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/8215/files
Fix #12724 FN: resourceLeak (allocation result in variable, regression)https://github.com/cppcheck-opensource/cppcheck/pull/8215#top
chrchr-githubhttps://github.com/chrchr-github
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
chrchr-github:chr_12724https://github.com/chrchr-github/cppcheck/tree/chr_12724
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Feb 13, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8215#issue-3937625159
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
chrchr-githubhttps://github.com/chrchr-github
February 13, 2026 15:42https://github.com/cppcheck-opensource/cppcheck/pull/8215#commits-pushed-1a7259a
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/1a7259ab14f7ddd690d1cd9684324fcb72e521df
1a7259ahttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/1a7259ab14f7ddd690d1cd9684324fcb72e521df
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/90e662657ef86c5cb5af92feac649f9360364b78
90e6626https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/90e662657ef86c5cb5af92feac649f9360364b78
https://github.com/chrchr-github
Update testleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/32a1c68286baa681fc2caa9dbab1b34fcdf13ed5
32a1c68https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/32a1c68286baa681fc2caa9dbab1b34fcdf13ed5
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/8ec5842ca3bd3de557e47db788e037d3b37491ab
8ec5842https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/8ec5842ca3bd3de557e47db788e037d3b37491ab
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/1352ad462d804bbfaee9d87c331d08a4b56c46b9
1352ad4https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/1352ad462d804bbfaee9d87c331d08a4b56c46b9
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/c8a70f155ad64cdd12702d3b12e78452c859fef4
c8a70f1https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/c8a70f155ad64cdd12702d3b12e78452c859fef4
https://github.com/web-flow
Check condition stored in variablehttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/014ec2f4d0a0b37f8cd2c40d89c52e6e5d6083f6
014ec2fhttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/014ec2f4d0a0b37f8cd2c40d89c52e6e5d6083f6
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
February 15, 2026 08:53https://github.com/cppcheck-opensource/cppcheck/pull/8215#event-22801786418
https://github.com/danmar
danmarhttps://github.com/danmar
Feb 21, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8215#pullrequestreview-3835808188
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/8215/files/014ec2f4d0a0b37f8cd2c40d89c52e6e5d6083f6
lib/checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/files/014ec2f4d0a0b37f8cd2c40d89c52e6e5d6083f6#diff-972dd9c0e8ef19d43fcb7b3cbe773e6cc6e735ec48aecf5cee64274b4d05d1d2
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.com/chrchr-github
https://github.com/danmar
Update lib/checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/682f9d89cca7da9d1a36571260653a482d0d26b1
682f9d8https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/682f9d89cca7da9d1a36571260653a482d0d26b1
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Feb 21, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8215#pullrequestreview-3836100306
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/8215/files/682f9d89cca7da9d1a36571260653a482d0d26b1
lib/checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/files/682f9d89cca7da9d1a36571260653a482d0d26b1#diff-972dd9c0e8ef19d43fcb7b3cbe773e6cc6e735ec48aecf5cee64274b4d05d1d2
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.com/chrchr-github
Update checkleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/f60c18c0cebf18b56a5a07f9183a6eb4626b57b1
f60c18chttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/f60c18c0cebf18b56a5a07f9183a6eb4626b57b1
https://github.com/danmar
danmarhttps://github.com/danmar
Feb 24, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8215#pullrequestreview-3846582719
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/8215/files/f60c18c0cebf18b56a5a07f9183a6eb4626b57b1
test/testleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/files/f60c18c0cebf18b56a5a07f9183a6eb4626b57b1#diff-5ce2ba9bdde24f06f62c36d9db3a0bdca484903c16cb58b2fcb3757a0642cbe0
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.com/chrchr-github
Update testleakautovar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/508035341446b52f5f9083aa3c2e97b8bfdad528
5080353https://github.com/cppcheck-opensource/cppcheck/pull/8215/commits/508035341446b52f5f9083aa3c2e97b8bfdad528
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Feb 25, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8215#issuecomment-3957283069
https://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=8215
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=8215&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/5ad34d7e6f2a5aa0d644209f46bb24fba00f31f704923ce46fe8434f94917f73/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=danmar_cppcheck&pullRequest=8215&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=danmar_cppcheck&pullRequest=8215&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=8215&metric=new_coverage&view=list
https://camo.githubusercontent.com/6cc27951a82703bd6a32deed62ec92af84fc495762ca86bc7af5a3ac490c7bda/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=danmar_cppcheck&pullRequest=8215&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=danmar_cppcheck&pullRequest=8215
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.com/firewave
firewavehttps://github.com/firewave
Feb 25, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8215#ref-pullrequest-3988398536
Fix #14532 (Release 2.20: Update Cppcheck Premium checkers mapping) #8260 https://github.com/cppcheck-opensource/cppcheck/pull/8260
https://github.com/danmar
danmarhttps://github.com/danmar
Feb 25, 2026 https://github.com/cppcheck-opensource/cppcheck/pull/8215#pullrequestreview-3854936196
View reviewed changes https://github.com/cppcheck-opensource/cppcheck/pull/8215/files/508035341446b52f5f9083aa3c2e97b8bfdad528
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
64abf20https://github.com/cppcheck-opensource/cppcheck/commit/64abf204eb362a32c15ce886d9a0a80b38e42135
Feb 25, 2026https://github.com/cppcheck-opensource/cppcheck/pull/8215#event-23080953054
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F8215
https://github.com/danmar
danmar https://github.com/danmar
https://github.com/cppcheck-opensource/cppcheck/pull/8215/files/508035341446b52f5f9083aa3c2e97b8bfdad528
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/8215
https://github.com/chrchr-github
https://github.com/danmar
https://github.com/apps/github-advanced-security
https://github.com/web-flow
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.