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

lvm-dbus: Minor memory allocation fixes #990

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

tbzatek
Copy link
Member

@tbzatek tbzatek commented Nov 20, 2023

... and another double free afterwards.
This should make compiler to check validity of the format string.
@tbzatek
Copy link
Member Author

tbzatek commented Nov 20, 2023

Let's see what adding the G_GNUC_PRINTF (2, 3) breaks. The argument symbol definition is unchanged and adding the annotation won't be hopefully classified as API break.

@tbzatek tbzatek merged commit 8c48aa3 into storaged-project:master Nov 21, 2023
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