Initialized the pidlOut variable in SHELL32_ParseNextElement to

prevent a crash in some cases.
This commit is contained in:
Gregg Mattinson 2002-07-16 01:11:52 +00:00 committed by Alexandre Julliard
parent 2996c57fba
commit 25ee95cd5d
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ static HRESULT SHELL32_ParseNextElement(
DWORD *pdwAttributes)
{
HRESULT hr = E_OUTOFMEMORY;
LPITEMIDLIST pidlOut, pidlTemp = NULL;
LPITEMIDLIST pidlOut = NULL, pidlTemp = NULL;
IShellFolder *psfChild;
TRACE("(%p, %p, %s)\n",psf, pidlInOut ? *pidlInOut : NULL, debugstr_w(szNext));