urlmon: Fixed duplicated IUri creation in CoInternetGetSecurityUrlEx.

This commit is contained in:
Jacek Caban 2011-07-28 17:08:33 +02:00 committed by Alexandre Julliard
parent 0281b7d30b
commit cbaf5f4663
1 changed files with 0 additions and 6 deletions

View File

@ -1823,12 +1823,6 @@ HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri *pUri, IUri **ppSecUri, PSUACTION
if(FAILED(hres))
return hres;
hres = CreateUri(ret_url, Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME, 0, ppSecUri);
if(FAILED(hres)) {
CoTaskMemFree(ret_url);
return hres;
}
/* File URIs have to hierarchical. */
hres = IUri_GetScheme(pUri, (DWORD*)&scheme_type);
if(SUCCEEDED(hres) && scheme_type == URL_SCHEME_FILE) {