Fixed NULL pointer access.

This commit is contained in:
Armin Novak 2016-05-12 09:28:12 +02:00
parent 9b7c53c90a
commit 704d69d540

View File

@ -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;