[PATCH] msxml3/tests: Fix BSTR leak warning (Valgrind)

Nikolay Sivov nsivov at codeweavers.com
Sun Jan 3 16:04:39 CST 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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)
-- 
2.6.4




More information about the wine-patches mailing list