validate-icon: Do not leak a GError instance

This commit is contained in:
Sebastian Wick committed 2025-11-21 14:21:13 +00:00
1 parent f9d5c5cba9
commit 76cb5c793e
1 file changed
+1 -1
+1 -1
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);