Module: wine Branch: master Commit: 3e2bf8adb0689ed28786f96f7fa5334fd968cd27 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e2bf8adb0689ed28786f96f7f...
Author: Andrew Nguyen anguyen@codeweavers.com Date: Sun Jan 16 03:41:43 2011 -0600
gameux: Initialize registry path pointer to NULL in GAMEUX_getAppIdFromGDFPath.
---
dlls/gameux/gamestatistics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c index 926023b..ecd518f 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 */