22 Apr
2022
22 Apr
'22
3:44 p.m.
Not, if ref is 0 on the second last check. :3 Rémi Bernon <rbernon(a)codeweavers.com> schrieb am Fr., 22. Apr. 2022, 15:45:
Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> ---
@@ -1096,9 +1096,9 @@ static void test_SpeechRecognizer(void) ok(async_status == Completed, "Status was %#x.\n", async_status);
ref = IAsyncInfo_Release(info); - ok(ref == 1, "Got unexpected ref %lu.\n", ref); + ok(ref >= 1, "Got unexpected ref %lu.\n", ref); ref = IAsyncOperation_SpeechRecognitionCompilationResult_Release(operation); - ok(!ref, "Got unexpected ref %lu.\n", ref); + ok(ref >= 0, "Got unexpected ref %lu.\n", ref);
Though I think this check is then useless.