Don't attempt to dereference a pointer after having freed it
CID
1401297
svn path=/trunk/; revision=73844
ZeroMemory(pfd, sizeof(*pfd));
/* Copy the file data if a file path was returned */
ZeroMemory(pfd, sizeof(*pfd));
/* Copy the file data if a file path was returned */
{
/* Copy the fixed part */
CopyMemory(pfd, &wfd, FIELD_OFFSET(WIN32_FIND_DATAA, cFileName));
{
/* Copy the fixed part */
CopyMemory(pfd, &wfd, FIELD_OFFSET(WIN32_FIND_DATAA, cFileName));
return E_FAIL;
return IShellLink_ConstructFromPath(path, riid, ppv);
return E_FAIL;
return IShellLink_ConstructFromPath(path, riid, ppv);
-}
\ No newline at end of file