mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
[shell32]
partial shelllink winesync to wine 1.1.35 (fixes a memory leak) svn path=/trunk/; revision=44727
This commit is contained in:
@@ -2184,7 +2184,10 @@ static HRESULT WINAPI IShellLinkW_fnSetPath(IShellLinkW * iface, LPCWSTR pszFile
|
||||
|
||||
/* any other quote marks are invalid */
|
||||
if (wcschr(pszFile, '"'))
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, unquoted);
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, This->sPath);
|
||||
This->sPath = NULL;
|
||||
|
||||
Reference in New Issue
Block a user