Commit 4823119a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Initialize nsAString in IHTMLDocument3::get_dir.

parent 042b41dd
......@@ -2207,6 +2207,7 @@ static HRESULT WINAPI HTMLDocument3_get_dir(IHTMLDocument3 *iface, BSTR *p)
return E_UNEXPECTED;
}
nsAString_Init(&dir_str, NULL);
nsres = nsIDOMHTMLDocument_GetDir(This->doc_node->nsdoc, &dir_str);
return return_nsstr(nsres, &dir_str, p);
}
......
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