mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:27:17 +00:00
webservices: Fix WsWriteText test crash on Windows 10.
The tests crashes on my system when utf8.value.dictionary != NULL. Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c58a2311a
commit
83a518214d
|
@ -2215,6 +2215,7 @@ static void test_WsMoveReader(void)
|
|||
hr = WsWriteStartElement( writer, NULL, &localname2, &ns, NULL );
|
||||
ok( hr == S_OK, "got %08x\n", hr );
|
||||
|
||||
memset(&utf8, 0, sizeof(utf8));
|
||||
utf8.text.textType = WS_XML_TEXT_TYPE_UTF8;
|
||||
utf8.value.bytes = (BYTE *)"test";
|
||||
utf8.value.length = sizeof("test") - 1;
|
||||
|
|
Loading…
Reference in a new issue