From 7746e494cf87c8aca6444cffced42f5d9ef1de4f Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 22 Feb 2026 13:32:04 +0100 Subject: [PATCH] fix memory leak within http masterserver handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit errbuf gets malloc“d! --- src/http-mserv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http-mserv.c b/src/http-mserv.c index 9e4374353..7b5fac188 100644 --- a/src/http-mserv.c +++ b/src/http-mserv.c @@ -318,6 +318,7 @@ static void HMS_end (struct HMS_buffer *buffer) { curl_easy_cleanup(buffer->curl); + free(buffer->errbuf); free(buffer->buffer); free(buffer); }