Commit 2f2a5a2e authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

opcservices: Fix underlying uri object leak (Valgrind).

parent 397517be
......@@ -331,7 +331,9 @@ static HRESULT WINAPI opc_factory_CreatePartUri(IOpcFactory *iface, LPCWSTR uri,
return hr;
}
return opc_part_uri_create(part_uri, NULL, out);
hr = opc_part_uri_create(part_uri, NULL, out);
IUri_Release(part_uri);
return hr;
}
static HRESULT WINAPI opc_factory_CreateStreamOnFile(IOpcFactory *iface, LPCWSTR filename,
......
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