Sven Baars : httpapi/tests: Cancel a pending receive request (Valgrind).
Module: wine Branch: master Commit: fea609c0d085d2f4c362ff63952ae8459b959be1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=fea609c0d085d2f4c362ff639... Author: Sven Baars <sven.wine(a)gmail.com> Date: Thu Sep 26 14:18:27 2019 +0200 httpapi/tests: Cancel a pending receive request (Valgrind). Signed-off-by: Sven Baars <sven.wine(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/httpapi/tests/httpapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/httpapi/tests/httpapi.c b/dlls/httpapi/tests/httpapi.c index b19a590147..abc5c95f0c 100644 --- a/dlls/httpapi/tests/httpapi.c +++ b/dlls/httpapi/tests/httpapi.c @@ -534,6 +534,8 @@ static void test_v1_short_buffer(void) ok(!ret, "Got error %u.\n", ret); ok(req->RequestId == req_id, "Got request ID %s.\n", wine_dbgstr_longlong(req->RequestId)); + CancelIoEx(queue, &ovl); + ret = HttpRemoveUrl(queue, localhost_urlW); ok(!ret, "Got error %u.\n", ret); closesocket(s);
participants (1)
-
Alexandre Julliard