mshtml: Initialize nsAString in IHTMLDocument3::get_dir.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
042b41dd57
commit
4823119a79
|
@ -2207,6 +2207,7 @@ static HRESULT WINAPI HTMLDocument3_get_dir(IHTMLDocument3 *iface, BSTR *p)
|
||||||
return E_UNEXPECTED;
|
return E_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nsAString_Init(&dir_str, NULL);
|
||||||
nsres = nsIDOMHTMLDocument_GetDir(This->doc_node->nsdoc, &dir_str);
|
nsres = nsIDOMHTMLDocument_GetDir(This->doc_node->nsdoc, &dir_str);
|
||||||
return return_nsstr(nsres, &dir_str, p);
|
return return_nsstr(nsres, &dir_str, p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue