mshtml: The HTMLDocument URL is a standard WCHAR string, not a BSTR.
This commit is contained in:
parent
ed147bb102
commit
868b5397d3
|
@ -129,7 +129,7 @@ struct HTMLDocument {
|
||||||
|
|
||||||
BSCallback *bscallback;
|
BSCallback *bscallback;
|
||||||
IMoniker *mon;
|
IMoniker *mon;
|
||||||
BSTR url;
|
LPOLESTR url;
|
||||||
|
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
HWND tooltips_hwnd;
|
HWND tooltips_hwnd;
|
||||||
|
|
|
@ -175,7 +175,7 @@ void set_current_mon(HTMLDocument *This, IMoniker *mon)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(This->url) {
|
if(This->url) {
|
||||||
SysFreeString(This->url);
|
CoTaskMemFree(This->url);
|
||||||
This->url = NULL;
|
This->url = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue