Zebediah Figura : msi: Initialize [out] strings to NULL.

Alexandre Julliard julliard at winehq.org
Fri Apr 27 13:26:04 CDT 2018


Module: wine
Branch: master
Commit: 71c0738c0e2598d2af9e31e2e82b69e6a5081e51
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=71c0738c0e2598d2af9e31e2e82b69e6a5081e51

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Fri Apr 27 09:37:46 2018 -0500

msi: Initialize [out] strings to NULL.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/custom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 12fe53e..72c3efd 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -496,10 +496,10 @@ UINT __wine_msi_call_dll_function(const GUID *guid)
     RPC_WSTR binding_str;
     MSIHANDLE hPackage;
     RPC_STATUS status;
+    LPWSTR dll = NULL;
+    LPSTR proc = NULL;
     HANDLE hModule;
     HANDLE thread;
-    LPWSTR dll;
-    LPSTR proc;
     INT type;
     UINT r;
 




More information about the wine-cvs mailing list