Commit 0655a6e5 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

shell32/tests: Fix uninitialized memory access (Valgrind).

parent bfad4fa9
......@@ -200,7 +200,7 @@ static void test_click_make_new_folder_button(void)
bi.ulFlags = BIF_NEWDIALOGSTYLE;
bi.lpfn = create_new_folder_callback;
/* Use test folder as the root folder for dialog box */
MultiByteToWideChar(CP_UTF8, 0, test_folder_path, MAX_PATH,
MultiByteToWideChar(CP_UTF8, 0, test_folder_path, -1,
test_folder_pathW, MAX_PATH);
hr = SHGetDesktopFolder(&test_folder_object);
ok (SUCCEEDED(hr), "SHGetDesktopFolder failed with hr 0x%08x\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment