Fix compilation with valgrind helpers
authorDavid FORT <contact@hardening-consulting.com>
Wed, 11 Feb 2015 14:23:14 +0000 (15:23 +0100)
committerDavid FORT <contact@hardening-consulting.com>
Wed, 11 Feb 2015 14:23:14 +0000 (15:23 +0100)
libfreerdp/core/gateway/http.c

index 6bdb3b7..362f1b0 100644 (file)
@@ -623,7 +623,7 @@ HttpResponse* http_response_recv(rdpTls* tls)
                        }
 
 #ifdef HAVE_VALGRIND_MEMCHECK_H
-                       VALGRIND_MAKE_MEM_DEFINED(p, status);
+                       VALGRIND_MAKE_MEM_DEFINED(Stream_Pointer(s), status);
 #endif
 
                        Stream_Seek(s, status);