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

This commit is contained in:
Alexandre Julliard 2007-10-01 18:07:30 +02:00
parent ed147bb102
commit 868b5397d3
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ struct HTMLDocument {
BSCallback *bscallback;
IMoniker *mon;
BSTR url;
LPOLESTR url;
HWND hwnd;
HWND tooltips_hwnd;

View file

@ -175,7 +175,7 @@ void set_current_mon(HTMLDocument *This, IMoniker *mon)
}
if(This->url) {
SysFreeString(This->url);
CoTaskMemFree(This->url);
This->url = NULL;
}