Author: cwittich
Date: Thu Aug 2 05:45:02 2007
New Revision: 28092
URL:
http://svn.reactos.org/svn/reactos?rev=28092&view=rev
Log:
fix null pointer check
Modified:
trunk/reactos/base/shell/cmd/start.c
Modified: trunk/reactos/base/shell/cmd/start.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/start.c?rev…
==============================================================================
--- trunk/reactos/base/shell/cmd/start.c (original)
+++ trunk/reactos/base/shell/cmd/start.c Thu Aug 2 05:45:02 2007
@@ -135,8 +135,8 @@
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);