[PATCH] httpapi/tests: Cancel a pending recieve request (Valgrind).
Sven Baars
sven.wine at gmail.com
Thu Sep 26 07:18:27 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
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);
--
2.17.1
More information about the wine-devel
mailing list