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