Module: wine Branch: stable Commit: 7b452a600c2461743f7a1e2bcab81efbdfa17f72 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b452a600c2461743f7a1e2bca...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Jan 24 13:26:25 2017 +0100
mshtml: Initialize nsAString in IHTMLDocument3::get_dir.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 4823119a79152f7cf3808b9744e2143776970edb) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/mshtml/htmldoc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index 47e087d..cf9344f 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -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); }