shdocvw: Unaccess post data only if we've accessed it before.
This commit is contained in:
parent
aed49d439e
commit
76a361af82
|
@ -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);
|
||||
|
||||
if(post_data)
|
||||
SafeArrayUnaccessData(V_ARRAY(PostData));
|
||||
|
||||
return hres;
|
||||
|
|
Loading…
Reference in New Issue