mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
urlmon/tests: Fix a leak in test (Valgrind).
This commit is contained in:
parent
3ba78cf101
commit
5b1d461748
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue