msi/tests: Avoid accessing uninitialized memory.

Found by valgrind.
This commit is contained in:
Hans Leidekker 2009-10-23 10:48:00 +02:00 committed by Alexandre Julliard
parent ade350b4d4
commit 483590a3c5

View File

@ -11391,6 +11391,7 @@ static void test_emptypackage(void)
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
}
buffer[0] = 0;
size = MAX_PATH;
r = MsiRecordGetString(hrec, 1, buffer, &size);
todo_wine