From 3e2bf8adb0689ed28786f96f7fa5334fd968cd27 Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Sun, 16 Jan 2011 03:41:43 -0600 Subject: [PATCH] gameux: Initialize registry path pointer to NULL in GAMEUX_getAppIdFromGDFPath. --- dlls/gameux/gamestatistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c index 926023b8858..ecd518fabee 100644 --- a/dlls/gameux/gamestatistics.c +++ b/dlls/gameux/gamestatistics.c @@ -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 */ -- 2.11.4.GIT