advapi32/tests: Fix undefined memory references in registry.c.
This commit is contained in:
parent
f2519fdcda
commit
dc072e209d
|
@ -282,8 +282,8 @@ static void test_hkey_main_Value_W(LPCWSTR name, LPCWSTR string,
|
|||
string=nW;
|
||||
}
|
||||
ok(memcmp(value, string, cbData) == 0, "RegQueryValueExW failed: %s/%d != %s/%d\n",
|
||||
wine_debugstr_wn(value, cbData), cbData,
|
||||
wine_debugstr_wn(string, full_byte_len), full_byte_len);
|
||||
wine_debugstr_wn(value, cbData / sizeof(WCHAR)), cbData,
|
||||
wine_debugstr_wn(string, full_byte_len / sizeof(WCHAR)), full_byte_len / sizeof(WCHAR));
|
||||
HeapFree(GetProcessHeap(), 0, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue