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:
Nikolay Sivov 2018-12-03 10:53:48 +03:00 committed by Alexandre Julliard
parent 961d5c8ed0
commit f8bf719482
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}