girepository/compiler: Cleanup the parser error on failure

This commit is contained in:
Marco Trevisan (Treviño) 2024-05-24 17:00:33 +02:00
parent debbf9d2d9
commit bfb62e9095

View File

@ -219,6 +219,7 @@ main (int argc, char **argv)
g_fprintf (stderr, "%s\n", message);
g_free (message);
gi_ir_parser_free (parser);
g_error_free (error);
return 1;
}