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 #2086

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Sep 26, 2023

What

Always use the return from g_string_free when stealing the string.

Why

Prevents warnings with glib 2.76.

References

Similar to /greenbone/gsad/pull/153

@github-actions
Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@mattmundell mattmundell marked this pull request as ready for review October 3, 2023 11:55
@mattmundell mattmundell requested a review from a team as a code owner October 3, 2023 11:55
@timopollmeier timopollmeier merged commit 2653a75 into greenbone:main Oct 5, 2023
9 checks passed
@mattmundell mattmundell deleted the glib-warnings branch October 5, 2023 09:22
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