Huw Davies : shell32: Initialise the error string pointer.
Alexandre Julliard
julliard at winehq.org
Thu Jul 28 13:55:44 CDT 2011
Module: wine
Branch: master
Commit: fccd4e29c9405344d1f5a4132c94b40e33213e6b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fccd4e29c9405344d1f5a4132c94b40e33213e6b
Author: Huw Davies <huw at codeweavers.com>
Date: Thu Jul 28 11:04:27 2011 +0100
shell32: Initialise the error string pointer.
---
dlls/shell32/shellpath.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 4bd3de2..8336479 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -3199,6 +3199,8 @@ static HRESULT redirect_known_folder(
LPWSTR lpRegistryPath = NULL, lpSrcPath = NULL;
TRACE("(%s, %p, 0x%08x, %s, %d, %p, %p)\n", debugstr_guid(rfid), hwnd, flags, debugstr_w(pszTargetPath), cFolders, pExclusion, ppszError);
+ if (ppszError) *ppszError = NULL;
+
hr = get_known_folder_registry_path(rfid, NULL, &lpRegistryPath);
if(SUCCEEDED(hr))
More information about the wine-cvs
mailing list