Commit f8bf7194 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

urlmon/tests: Release correct uri object (Coverity).

parent 961d5c8e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment