diff --git a/dlls/dmloader/tests/loader.c b/dlls/dmloader/tests/loader.c index 17359940887..b24b2e2507e 100644 --- a/dlls/dmloader/tests/loader.c +++ b/dlls/dmloader/tests/loader.c @@ -47,7 +47,7 @@ static void test_directory(void) { IDirectMusicLoader8 *loader = NULL; HRESULT hr; - WCHAR con[] = {'c', 'o', 'n'}; + WCHAR con[] = {'c', 'o', 'n', 0}; WCHAR path[MAX_PATH]; WCHAR invalid_path[] = {'/', 'i', 'n', 'v', 'a', 'l', 'i', 'd', ' ', 'p', 'a', 't', 'h', 0};