Skip to content
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

Use result of g_string_free when arg 2 is FALSE #153

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Sep 27, 2023

What

Always use the return from g_string_free when stealing the string.

In restore_gmp and empty_trashcan_gmp prevent the steal by removing unused XML returns.

Why

Prevents warnings with glib 2.76.

@github-actions
Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@timopollmeier timopollmeier merged commit 3f9922b into greenbone:main Oct 5, 2023
8 checks passed
@mattmundell mattmundell deleted the glib-warnings branch October 9, 2023 10:19
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