Module: wine Branch: master Commit: cbaf5f4663f20b6448731148d9d94becb33aaca1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cbaf5f4663f20b6448731148d9...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Jul 28 17:08:33 2011 +0200
urlmon: Fixed duplicated IUri creation in CoInternetGetSecurityUrlEx.
---
dlls/urlmon/sec_mgr.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/urlmon/sec_mgr.c b/dlls/urlmon/sec_mgr.c index e1763fc..6b3f9de 100644 --- a/dlls/urlmon/sec_mgr.c +++ b/dlls/urlmon/sec_mgr.c @@ -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) {