mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:15:43 +00:00
fix null pointer check
svn path=/trunk/; revision=28092
This commit is contained in:
parent
48428871b5
commit
e470bad721
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ INT cmd_start (LPTSTR First, LPTSTR Rest)
|
||||||
}
|
}
|
||||||
|
|
||||||
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…
Add table
Add a link
Reference in a new issue