http: release strbuf on disabled alternates
commit5cae73d5d23ec109322948478a957e77d2733f94
authorEric Wong <e@80x24.org>
Sat, 4 Mar 2017 01:50:16 +0000 (4 01:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Mar 2017 18:52:57 +0000 (6 10:52 -0800)
treec5939d8c6dfd751c83f63a3cea21c239b6749f08
parentde46138826cbc8229e25691e613e09ae1f683235
http: release strbuf on disabled alternates

This likely has no real-world impact on memory usage,
but it is cleaner for future readers.

Fixes: abcbdc03895f ("http: respect protocol.*.allow=user for http-alternates")
Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-walker.c