mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 06:07:56 +00:00
validate-icon: Do not leak a GError instance
This commit is contained in:
parent
f9d5c5cba9
commit
76cb5c793e
@ -253,7 +253,7 @@ int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
g_autoptr(GOptionContext) context = NULL;
|
||||
GError *error = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
|
||||
context = g_option_context_new ("WIDTH HEIGHT PATH");
|
||||
g_option_context_add_main_entries (context, entries, NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user