Rico Schüller : mshtml/tests: Fix SysFreeString call with wrong variable.

Alexandre Julliard julliard at winehq.org
Mon Mar 2 09:01:38 CST 2009


Module: wine
Branch: master
Commit: 0215c75260e3c1a22ac3134550550748f5431fb4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0215c75260e3c1a22ac3134550550748f5431fb4

Author: Rico Schüller <kgbricola at web.de>
Date:   Sun Mar  1 14:11:40 2009 +0100

mshtml/tests: Fix SysFreeString call with wrong variable.

---

 dlls/mshtml/tests/dom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index c39f79f..1e7acae 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -3225,7 +3225,7 @@ static void test_default_style(IHTMLStyle *style)
 
     hres = IHTMLStyle_put_backgroundRepeat(style, sDefault);
     ok(hres == S_OK, "put_backgroundRepeat failed: %08x\n", hres);
-    SysFreeString(str);
+    SysFreeString(sDefault);
 
     hres = IHTMLStyle_QueryInterface(style, &IID_IHTMLStyle2, (void**)&style2);
     ok(hres == S_OK, "Could not get IHTMLStyle2 iface: %08x\n", hres);




More information about the wine-cvs mailing list