commit a975fd5aedc866629214aaaccb38376855351899 Author: Amos Jeffries Date: 2021-02-24 00:53:21 +0000 Bug 5104: Memory leak in RFC 2169 response parsing (#778) A temporary parsing buffer was not being released when parsing completed. diff --git a/src/urn.cc b/src/urn.cc index 69a9cd524..5fb8a727c 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; }