Andrew Nguyen : gameux: Initialize registry path pointer to NULL in GAMEUX_getAppIdFromGDFPath.

Alexandre Julliard julliard at winehq.org
Mon Jan 17 10:59:47 CST 2011


Module: wine
Branch: master
Commit: 3e2bf8adb0689ed28786f96f7fa5334fd968cd27
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e2bf8adb0689ed28786f96f7fa5334fd968cd27

Author: Andrew Nguyen <anguyen at 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 */
 




More information about the wine-cvs mailing list