gameux: Initialize registry path pointer to NULL in GAMEUX_getAppIdFromGDFPath.

oldstable
Andrew Nguyen 2011-01-16 03:41:43 -06:00 committed by Alexandre Julliard
parent e46c66a1f5
commit 3e2bf8adb0
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
HRESULT hr;
GAME_INSTALL_SCOPE installScope;
GUID instanceId;
LPWSTR lpRegistryPath;
LPWSTR lpRegistryPath = NULL;
HKEY hKey;
DWORD dwLength = 49*sizeof(WCHAR);/* place for GUID */