diff --git a/gio/gapplicationcommandline.c b/gio/gapplicationcommandline.c index 937b87d22..d7be108bf 100644 --- a/gio/gapplicationcommandline.c +++ b/gio/gapplicationcommandline.c @@ -119,6 +119,12 @@ * * argv = *arguments; * + * if (argv[0] == NULL) + * { + * *exit_status = 0; + * return FALSE; + * } + * * i = 1; * while (argv[i]) * {