mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
Merge branch 'fix-gsubprocess-tests' into 'master'
Revert "tests: Fix GOptionContext leak in GSubprocess tests" See merge request GNOME/glib!551
This commit is contained in:
commit
c33a98f42f
@ -209,14 +209,11 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
g_option_context_free (context);
|
|
||||||
g_printerr ("%s: %s\n", argv[0], error->message);
|
g_printerr ("%s: %s\n", argv[0], error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_option_context_free (context);
|
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
g_printerr ("MODE argument required\n");
|
g_printerr ("MODE argument required\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user