Commit 6e32c011 authored by David Kahurani's avatar David Kahurani Committed by Alexandre Julliard

ieframe: Fix memory leak in open_dde_url.

parent b8ec1068
...@@ -1027,10 +1027,12 @@ static HDDEDATA open_dde_url(WCHAR *dde_url) ...@@ -1027,10 +1027,12 @@ static HDDEDATA open_dde_url(WCHAR *dde_url)
} }
hres = IWebBrowser2_Navigate2(&ie->IWebBrowser2_iface, &urlv, NULL, NULL, NULL, NULL); hres = IWebBrowser2_Navigate2(&ie->IWebBrowser2_iface, &urlv, NULL, NULL, NULL, NULL);
if(FAILED(hres))
return 0;
SysFreeString(V_BSTR(&urlv));
IWebBrowser2_Release(&ie->IWebBrowser2_iface); IWebBrowser2_Release(&ie->IWebBrowser2_iface);
if(FAILED(hres))
return 0;
return ULongToHandle(DDE_FACK); return ULongToHandle(DDE_FACK);
} }
......
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