[PATCH] msi: Initialize [out] strings to NULL.
Zebediah Figura
z.figura12 at gmail.com
Fri Apr 27 09:37:46 CDT 2018
Fixes https://bugs.winehq.org/show_bug.cgi?id=45073
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
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 0a82fc8..4f386ce 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -491,10 +491,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;
--
2.7.4
More information about the wine-devel
mailing list