http: fix compilation with valgrind memcheck helpers

This commit is contained in:
David Fort 2018-02-14 10:15:51 +01:00
parent 441975a4aa
commit 6e5d86f332

View File

@ -650,7 +650,7 @@ HttpResponse* http_response_recv(rdpTls* tls)
}
#ifdef HAVE_VALGRIND_MEMCHECK_H
VALGRIND_MAKE_MEM_DEFINED(Stream_Pointer(s), status);
VALGRIND_MAKE_MEM_DEFINED(Stream_Pointer(response->data), status);
#endif
Stream_Seek(response->data, status);