commit 29540ae91a01bf73456fac731d54765520099a31 Author: Jacek Caban Date: Mon Jun 13 15:55:34 2016 +0200 ref diff --git a/dlls/msscript.ocx/tests/msscript.c b/dlls/msscript.ocx/tests/msscript.c index d1d553b..274b5dc 100644 --- a/dlls/msscript.ocx/tests/msscript.c +++ b/dlls/msscript.ocx/tests/msscript.c @@ -623,6 +623,7 @@ static void test_Language(void) IScriptControl *sc; HRESULT hr; BSTR str; + ULONG ref; hr = CoCreateInstance(&CLSID_ScriptControl, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER, &IID_IScriptControl, (void**)&sc); @@ -697,7 +698,8 @@ static void test_Language(void) else skip("Could not register TestScript engine\n"); - IScriptControl_Release(sc); + ref = IScriptControl_Release(sc); + ok(!ref, "ref = %u\n", ref); } START_TEST(msscript)