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; BSCallback *bscallback;
IMoniker *mon; IMoniker *mon;
BSTR url; LPOLESTR url;
HWND hwnd; HWND hwnd;
HWND tooltips_hwnd; HWND tooltips_hwnd;

View File

@ -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;
} }