validate-icon: Do not leak a GError instance

This commit is contained in:
Sebastian Wick 2025-11-20 22:07:23 +01:00
parent f9d5c5cba9
commit 76cb5c793e

View File

@ -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);