From cf08ea1b3a206e37e47350e0be7050877d2ced2b Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Thu, 23 Mar 2017 07:34:51 -0700 Subject: [PATCH] msxml3/tests: Free ready state BSTR (Valgrind). Signed-off-by: Daniel Lehman Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/msxml3/tests/xmlview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msxml3/tests/xmlview.c b/dlls/msxml3/tests/xmlview.c index 3c1d8d9f81f..dc8ab7d200e 100644 --- a/dlls/msxml3/tests/xmlview.c +++ b/dlls/msxml3/tests/xmlview.c @@ -130,6 +130,7 @@ static HRESULT WINAPI HTMLEvents_Invoke(IDispatch *iface, DISPID dispIdMember, R ok(hr == S_OK, "got 0x%08x\n", hr); if(!memcmp(state, completeW, sizeof(completeW))) loaded = TRUE; + SysFreeString(state); } return S_OK; -- 2.11.4.GIT