Commit ccb34865 authored by Philip Withnall's avatar Philip Withnall

Revert "tests: Fix GOptionContext leak in GSubprocess tests"

This reverts commit 52bab025.

It silently conflicted with another commit,
90ca3b4d, which was merged later than
it. I’ve kept commit 90ca3b because it also frees the GError; 52bab
doesn’t.

This is my failure to rebase and test old branches before merging them,
instead of assuming that the lack of automatically detected merge
conflicts actually means there are no merge conflicts.
parent b709c6bd
......@@ -209,14 +209,11 @@ main (int argc, char **argv)
if (!ret)
{
g_option_context_free (context);
g_printerr ("%s: %s\n", argv[0], error->message);
g_error_free (error);
return 1;
}
g_option_context_free (context);
if (argc < 2)
{
g_printerr ("MODE argument required\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment