httpapi/tests: Initialize response_buffer to 0 (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-09-26 14:18:26 +02:00 committed by Alexandre Julliard
parent bbd1e80d81
commit a1953e4e2c
1 changed files with 2 additions and 0 deletions

View File

@ -614,6 +614,8 @@ static void test_v1_entity_body(void)
ret = HttpSendHttpResponse(queue, req->RequestId, 0, (HTTP_RESPONSE *)&response, NULL, NULL, NULL, 0, NULL, NULL);
ok(!ret, "Got error %u.\n", ret);
memset(response_buffer, 0, sizeof(response_buffer));
ret = recv(s, response_buffer, sizeof(response_buffer), 0);
ok(ret > 0, "recv() failed.\n");
if (winetest_debug > 1)