From a975fd5aedc866629214aaaccb38376855351899 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 24 Feb 2021 00:53:21 +0000 Subject: [PATCH] Bug 5104: Memory leak in RFC 2169 response parsing (#778) A temporary parsing buffer was not being released when parsing completed. --- src/urn.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/urn.cc b/src/urn.cc index 69a9cd5240..5fb8a727c9 100644 --- a/src/urn.cc +++ b/src/urn.cc @@ -412,6 +412,7 @@ urnParseReply(const char *inbuf, const HttpRequestMethod& m) } debugs(52, 3, "urnParseReply: Found " << i << " URLs"); + xfree(buf); return list; } -- 2.47.2