Nikolay Sivov : msxml3/tests: Fix BSTR leak warning (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 5 12:18:33 CST 2016


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jan  4 01:04:39 2016 +0300

msxml3/tests: Fix BSTR leak warning (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msxml3/tests/httpreq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msxml3/tests/httpreq.c b/dlls/msxml3/tests/httpreq.c
index ab72d3a..f228b41 100644
--- a/dlls/msxml3/tests/httpreq.c
+++ b/dlls/msxml3/tests/httpreq.c
@@ -1752,6 +1752,7 @@ static void test_safe_httpreq(void)
     test_open(xhr, "GET", "http://www.test.winehq.org/tests/hello.html", E_ACCESSDENIED);
 
     IXMLHttpRequest_Release(xhr);
+    free_bstrs();
 }
 
 START_TEST(httpreq)




More information about the wine-cvs mailing list