urlmon/tests: Release correct uri object (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
961d5c8ed0
commit
f8bf719482
|
@ -10529,7 +10529,7 @@ static void test_IUriBuilderFactory(void) {
|
|||
ok(hr == S_OK, "Error: GetIUri return 0x%08x, expected 0x%08x.\n",
|
||||
hr, S_OK);
|
||||
ok(tmp == uri, "Error: Expected tmp to be %p, but was %p.\n", uri, tmp);
|
||||
if(uri) IUri_Release(uri);
|
||||
if(tmp) IUri_Release(tmp);
|
||||
}
|
||||
if(builder) IUriBuilder_Release(builder);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue