Author: cwittich Date: Wed Dec 23 12:17:00 2009 New Revision: 44727 URL: http://svn.reactos.org/svn/reactos?rev=44727&view=rev Log: [shell32] partial shelllink winesync to wine 1.1.35 (fixes a memory leak)
Modified: trunk/reactos/dll/win32/shell32/shelllink.c Modified: trunk/reactos/dll/win32/shell32/shelllink.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllink.c?rev=44727&r1=44726&r2=44727&view=diff ============================================================================== --- trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shelllink.c [iso-8859-1] Wed Dec 23 12:17:00 2009 @@ -2184,7 +2184,10 @@ /* any other quote marks are invalid */ if (wcschr(pszFile, '"')) + { + HeapFree(GetProcessHeap(), 0, unquoted); return S_FALSE; + } HeapFree(GetProcessHeap(), 0, This->sPath); This->sPath = NULL;