Author: akhaldi
Date: Thu Nov 6 11:25:43 2014
New Revision: 65282
URL:
http://svn.reactos.org/svn/reactos?rev=65282&view=rev
Log:
[SHELL32]
* Apply Wine commit bfad4fa9 by Piotr Caban: Don't convert output parameter in
SHBrowseForFolderA (Valgrind).
CORE-8540
Modified:
branches/shell-experiments/dll/win32/shell32/wine/brsfolder.c
Modified: branches/shell-experiments/dll/win32/shell32/wine/brsfolder.c
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/she…
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/wine/brsfolder.c [iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/wine/brsfolder.c [iso-8859-1] Thu Nov 6
11:25:43 2014
@@ -1073,10 +1073,7 @@
bi.hwndOwner = lpbi->hwndOwner;
bi.pidlRoot = lpbi->pidlRoot;
if (lpbi->pszDisplayName)
- {
bi.pszDisplayName = HeapAlloc( GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR) );
- MultiByteToWideChar( CP_ACP, 0, lpbi->pszDisplayName, -1, bi.pszDisplayName,
MAX_PATH );
- }
else
bi.pszDisplayName = NULL;