Fixed NULL pointer access.
This commit is contained in:
parent
9b7c53c90a
commit
704d69d540
@ -721,10 +721,8 @@ BOOL audin_process_addin_args(AUDIN_PLUGIN* audin, ADDIN_ARGV* args)
|
||||
COMMAND_LINE_ARGUMENT_A* arg;
|
||||
UINT error;
|
||||
|
||||
if (args->argc == 1)
|
||||
{
|
||||
if (!args || args->argc == 1)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
flags = COMMAND_LINE_SIGIL_NONE | COMMAND_LINE_SEPARATOR_COLON | COMMAND_LINE_IGN_UNKNOWN_KEYWORD;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user