Piotr Caban : mshtml: Init nsAString in HTMLElement2_get_dir.
Alexandre Julliard
julliard at winehq.org
Mon Apr 29 13:55:24 CDT 2013
Module: wine
Branch: master
Commit: 123fd68b53d43790044cebb551600fba9495ff01
URL: http://source.winehq.org/git/wine.git/?a=commit;h=123fd68b53d43790044cebb551600fba9495ff01
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Apr 29 18:42:13 2013 +0200
mshtml: Init nsAString in HTMLElement2_get_dir.
---
dlls/mshtml/htmlelem2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/htmlelem2.c b/dlls/mshtml/htmlelem2.c
index 24aaba5..5762765 100644
--- a/dlls/mshtml/htmlelem2.c
+++ b/dlls/mshtml/htmlelem2.c
@@ -982,6 +982,7 @@ static HRESULT WINAPI HTMLElement2_get_dir(IHTMLElement2 *iface, BSTR *p)
return S_OK;
}
+ nsAString_Init(&dir_str, NULL);
nsres = nsIDOMHTMLElement_GetDir(This->nselem, &dir_str);
return return_nsstr(nsres, &dir_str, p);
}
More information about the wine-cvs
mailing list