mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ieframe: Pass BSTR to handle_navigation_error.
This commit is contained in:
parent
d5a4621bd6
commit
402b10013f
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ typedef struct {
|
||||||
DocHost *doc_host;
|
DocHost *doc_host;
|
||||||
IBinding *binding;
|
IBinding *binding;
|
||||||
|
|
||||||
LPWSTR url;
|
BSTR url;
|
||||||
HGLOBAL post_data;
|
HGLOBAL post_data;
|
||||||
BSTR headers;
|
BSTR headers;
|
||||||
ULONG post_data_len;
|
ULONG post_data_len;
|
||||||
|
@ -206,7 +206,7 @@ static ULONG WINAPI BindStatusCallback_Release(IBindStatusCallback *iface)
|
||||||
if(This->post_data)
|
if(This->post_data)
|
||||||
GlobalFree(This->post_data);
|
GlobalFree(This->post_data);
|
||||||
SysFreeString(This->headers);
|
SysFreeString(This->headers);
|
||||||
heap_free(This->url);
|
SysFreeString(This->url);
|
||||||
heap_free(This);
|
heap_free(This);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -543,7 +543,7 @@ static BindStatusCallback *create_callback(DocHost *doc_host, LPCWSTR url, PBYTE
|
||||||
ret->IHttpSecurity_iface.lpVtbl = &HttpSecurityVtbl;
|
ret->IHttpSecurity_iface.lpVtbl = &HttpSecurityVtbl;
|
||||||
|
|
||||||
ret->ref = 1;
|
ret->ref = 1;
|
||||||
ret->url = heap_strdupW(url);
|
ret->url = SysAllocString(url);
|
||||||
ret->post_data = NULL;
|
ret->post_data = NULL;
|
||||||
ret->post_data_len = post_data_len;
|
ret->post_data_len = post_data_len;
|
||||||
ret->headers = headers ? SysAllocString(headers) : NULL;
|
ret->headers = headers ? SysAllocString(headers) : NULL;
|
||||||
|
|
Loading…
Reference in a new issue