mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
fix null pointer check
svn path=/trunk/; revision=28092
This commit is contained in:
@@ -135,8 +135,8 @@ INT cmd_start (LPTSTR First, LPTSTR Rest)
|
||||
return 1;
|
||||
}
|
||||
|
||||
param =cmd_alloc ( (_tcslen(RestWithoutArgs) + 1) * sizeof(TCHAR));
|
||||
if (rest == NULL)
|
||||
param = cmd_alloc ( (_tcslen(RestWithoutArgs) + 1) * sizeof(TCHAR));
|
||||
if (param == NULL)
|
||||
{
|
||||
if(comspec != NULL)
|
||||
cmd_free(comspec);
|
||||
|
||||
Reference in New Issue
Block a user