]> git.ipfire.org Git - thirdparty/squid.git/commit
urn: free urn object on initial error (#2195)
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Tue, 9 Sep 2025 02:38:48 +0000 (02:38 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 9 Sep 2025 02:38:51 +0000 (02:38 +0000)
commit80b0bdd653c4621dcf6a09192dab61c072171ae6
tree19dec28e889e4c69b79b1f90511f119178f43de9
parentdba3c8b0b8655a516cad3af87749ff27717d43a5
urn: free urn object on initial error (#2195)

Previously, the object wasn't freed if an error occurred
when setting the uri.

Also sets the location header to the first url, regardless
of qsort shifting the buffer.
src/urn.cc