From bbd1e80d8176c751a69ed6962c138176c0b9f5c4 Mon Sep 17 00:00:00 2001 From: Sven Baars Date: Thu, 26 Sep 2019 14:18:25 +0200 Subject: [PATCH] httpapi: Fix a memory leak (Valgrind). Signed-off-by: Sven Baars Signed-off-by: Alexandre Julliard --- dlls/httpapi/httpapi_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c index 0d6895b998b..03511d6c9fb 100644 --- a/dlls/httpapi/httpapi_main.c +++ b/dlls/httpapi/httpapi_main.c @@ -230,6 +230,7 @@ static ULONG add_url(HANDLE queue, const WCHAR *urlW, HTTP_URL_CONTEXT context) offsetof(struct http_add_url_params, url[len]), NULL, 0, NULL, &ovl)) ret = GetLastError(); CloseHandle(ovl.hEvent); + heap_free(params); return ret; }