]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: proxy: free orgto_hdr_name in free_proxy()
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 28 Dec 2022 11:18:15 +0000 (12:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Jan 2023 14:20:41 +0000 (15:20 +0100)
commitb2d797a53fc7775773a539d2b72268e5125c2903
tree536501270165f5c7cc69dfecfd6ebad4bb7578b0
parent39055d159ff7ef68ae046162f5f1c0fadb3ae58a
BUG/MINOR: proxy: free orgto_hdr_name in free_proxy()

Unlike fwdfor_hdr_name, orgto_hdr_name was not properly freed in
free_proxy().

This did not cause observable memory leaks because originalto proxy option is
only used for user configurable proxies, which are solely freed right before
process termination.
No backport needed unless some architectural changes causing regular proxies
to be freed and reused multiple times within single process lifetime are made.
src/proxy.c