Commit 76a361af authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Unaccess post data only if we've accessed it before.

parent aed49d43
...@@ -551,6 +551,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA ...@@ -551,6 +551,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
hres = navigate_url(This, V_BSTR(URL), post_data, post_data_len, headers); hres = navigate_url(This, V_BSTR(URL), post_data, post_data_len, headers);
if(post_data)
SafeArrayUnaccessData(V_ARRAY(PostData)); SafeArrayUnaccessData(V_ARRAY(PostData));
return hres; return hres;
......
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