From 585595791b13f5cf5bbfe864e0e5f44b6a2e5e14 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Wed, 1 May 2019 16:13:27 -0700 Subject: [PATCH] Updated to use revices ReAlloc Macro --- microscript/ILibDuktape_HttpStream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microscript/ILibDuktape_HttpStream.c b/microscript/ILibDuktape_HttpStream.c index 55fb60a..df6103b 100644 --- a/microscript/ILibDuktape_HttpStream.c +++ b/microscript/ILibDuktape_HttpStream.c @@ -1045,7 +1045,7 @@ void ILibDuktape_HttpStream_http_request_transform(struct ILibDuktape_Transform if (bufferLen > 0) { ILibDuktape_readableStream_WriteData(sender->target, buffer, bufferLen); - ILibMemory_ReallocateRaw(data->buffer, data->bufferLen + bufferLen); + ILibMemory_ReallocateRaw(&(data->buffer), data->bufferLen + bufferLen); memcpy_s(data->buffer + data->bufferLen, bufferLen, buffer, bufferLen); data->bufferLen = data->bufferLen + bufferLen; }