urlmon/tests: Fix a leak in test (Valgrind).

This commit is contained in:
Nikolay Sivov 2011-01-23 16:18:58 +03:00 committed by Alexandre Julliard
parent 3ba78cf101
commit 5b1d461748
1 changed files with 1 additions and 0 deletions

View File

@ -1183,6 +1183,7 @@ static void test_CopyStgMedium(void)
ok(dst.u.lpszFileName && dst.u.lpszFileName != fileW, "lpszFileName=%p\n", dst.u.lpszFileName);
ok(!lstrcmpW(dst.u.lpszFileName, fileW), "wrong file name\n");
ok(!dst.pUnkForRelease, "pUnkForRelease=%p, expected NULL\n", dst.pUnkForRelease);
ReleaseStgMedium(&dst);
hres = pCopyStgMedium(&src, NULL);
ok(hres == E_POINTER, "CopyStgMedium failed: %08x, expected E_POINTER\n", hres);