Author: cwittich
Date: Thu Aug 2 07:08:17 2007
New Revision: 28093
URL:
http://svn.reactos.org/svn/reactos?rev=28093&view=rev
Log:
fix a crash
Modified:
trunk/reactos/base/shell/cmd/where.c
Modified: trunk/reactos/base/shell/cmd/where.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/where.c?rev…
==============================================================================
--- trunk/reactos/base/shell/cmd/where.c (original)
+++ trunk/reactos/base/shell/cmd/where.c Thu Aug 2 07:08:17 2007
@@ -245,12 +245,12 @@
if (0 == _tcsicmp(pCh, pExt))
{
cmd_free(pszBuffer);
- cmd_free(pszBuffer2);
+ LocalFree(pszBuffer2);
return SearchForExecutableSingle(pFileName, pFullName, NULL);
}
pCh = _tcstok(NULL, _T(";"));
}
- cmd_free(pszBuffer2);
+ LocalFree(pszBuffer2);
}
}