mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
fix null pointer check
svn path=/trunk/; revision=28092
This commit is contained in:
parent
48428871b5
commit
e470bad721
|
@ -135,8 +135,8 @@ INT cmd_start (LPTSTR First, LPTSTR Rest)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
param =cmd_alloc ( (_tcslen(RestWithoutArgs) + 1) * sizeof(TCHAR));
|
param = cmd_alloc ( (_tcslen(RestWithoutArgs) + 1) * sizeof(TCHAR));
|
||||||
if (rest == NULL)
|
if (param == NULL)
|
||||||
{
|
{
|
||||||
if(comspec != NULL)
|
if(comspec != NULL)
|
||||||
cmd_free(comspec);
|
cmd_free(comspec);
|
||||||
|
|
Loading…
Reference in a new issue