Module: wine Branch: master Commit: 5b1d46174888df708e1708bd363177c51474dc59 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5b1d46174888df708e1708bd36...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Jan 23 16:18:58 2011 +0300
urlmon/tests: Fix a leak in test (Valgrind).
---
dlls/urlmon/tests/misc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c index 0dacd12..cd3372c 100644 --- a/dlls/urlmon/tests/misc.c +++ b/dlls/urlmon/tests/misc.c @@ -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);