Commit ca629dec authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wmic: Handle failure from CommandLineToArgvW().

parent 2b3bc201
......@@ -421,7 +421,7 @@ int __cdecl wmain(int argc, WCHAR *argv[])
int new_argc;
WCHAR **new_argv;
new_argv = CommandLineToArgvW( stripped, &new_argc );
if (!(new_argv = CommandLineToArgvW( stripped, &new_argc ))) return 1;
ret = process_args( new_argc, new_argv );
LocalFree( new_argv );
......
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