8000 src/bootloaders/custom: don't auto-free GError r_custom_get_current_bootname() by ejoerns · Pull Request #1677 · rauc/rauc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

src/bootloaders/custom: don't auto-free GError r_custom_get_current_bootname() #1677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

ejoerns
Copy link
Member
@ejoerns ejoerns commented Mar 28, 2025

When using autoptr() for the inner error, it will be freed when leaving the function context and the propagated error message will be empty.

…ootname()

When using autoptr() for the inner error, it will be freed when leaving
the function context and the propagated error message will be empty.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
@ejoerns ejoerns added the fixed label Mar 28, 2025
Copy link
codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.36%. Comparing base (b350fb6) to head (aa56438).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1677   +/-   ##
=======================================
  Coverage   84.36%   84.36%           
=======================================
  Files          76       76           
  Lines       22193    22193           
=======================================
  Hits        18723    18723           
  Misses       3470     3470           
Flag Coverage Δ
service=false 80.83% <100.00%> (ø)
service=true 84.31% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ejoerns ejoerns requested a review from jluebbe March 28, 2025 13:20
@jluebbe jluebbe merged commit e3b272c into rauc:master Mar 31, 2025
19 checks passed
@ejoerns ejoerns deleted the fix-gerror-custom branch April 2, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0