Commit 868b5397 authored by Alexandre Julliard's avatar Alexandre Julliard

mshtml: The HTMLDocument URL is a standard WCHAR string, not a BSTR.

parent ed147bb1
......@@ -129,7 +129,7 @@ struct HTMLDocument {
BSCallback *bscallback;
IMoniker *mon;
BSTR url;
LPOLESTR url;
HWND hwnd;
HWND tooltips_hwnd;
......
......@@ -175,7 +175,7 @@ void set_current_mon(HTMLDocument *This, IMoniker *mon)
}
if(This->url) {
SysFreeString(This->url);
CoTaskMemFree(This->url);
This->url = NULL;
}
......
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