mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-01 00:42:16 +01:00 
			
		
		
		
	Revert "tests: Fix GOptionContext leak in GSubprocess tests"
This reverts commit52bab0254a. It silently conflicted with another commit,90ca3b4dd0, 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.
This commit is contained in:
		| @@ -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"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user