reg/tests: Don't call RegCloseKey on uninitialized memory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f53b6bfde0
commit
db11f739ea
|
@ -793,7 +793,7 @@ static void test_import(void)
|
|||
DWORD r, dword = 0x123, type, size;
|
||||
char test1_reg[MAX_PATH], test2_reg[MAX_PATH], cmdline[MAX_PATH];
|
||||
char test_string[] = "Test string", buffer[24];
|
||||
HKEY hkey, subkey;
|
||||
HKEY hkey, subkey = NULL;
|
||||
LONG err;
|
||||
BYTE hex[8];
|
||||
|
||||
|
|
Loading…
Reference in New Issue