mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:16:17 +00:00
wmic: Handle failure from CommandLineToArgvW().
This commit is contained in:
parent
2b3bc20103
commit
ca629dec9b
|
@ -421,7 +421,7 @@ int __cdecl wmain(int argc, WCHAR *argv[])
|
||||||
int new_argc;
|
int new_argc;
|
||||||
WCHAR **new_argv;
|
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 );
|
ret = process_args( new_argc, new_argv );
|
||||||
LocalFree( new_argv );
|
LocalFree( new_argv );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue