[WINESYNC] msi: Don't call RegCloseKey with uninitialized value.

Signed-off-by: Eric Pouech <[email protected]>
Signed-off-by: Hans Leidekker <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 4240e71a350b16d7ba048a839683c2023d03c831 by Eric Pouech <[email protected]>
This commit is contained in:
winesync
2022-03-20 19:28:42 +01:00
committed by Mark Jansen
parent 3d6aaff254
commit 9a05b53ce8
+1 -1
View File
@@ -7001,7 +7001,7 @@ static UINT ITERATE_RemoveEnvironmentString( MSIRECORD *rec, LPVOID param )
LPCWSTR name, value, component;
WCHAR *p, *q, *deformatted = NULL, *new_value = NULL;
DWORD flags, type, size, len, len_value = 0, len_new_value;
HKEY env;
HKEY env = NULL;
MSICOMPONENT *comp;
MSIRECORD *uirow;
int action = 0;