BUG/MINOR: contrib/spoa-server: Updating references to free in case of failure
authorGilchrist Dadaglo <dadaglo@amazon.com>
Mon, 24 Aug 2020 19:21:34 +0000 (19:21 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 7 Sep 2020 07:31:30 +0000 (09:31 +0200)
commit9376baa546dc885f12f32dbb3f400916bc38ab73
tree0ecf1dd0ed15c9db7564c6a0ec1ebd88a186367f
parent9aeae8361831612f4f441e0582eabc66c29d1219
BUG/MINOR: contrib/spoa-server: Updating references to free in case of failure

When we encounter a failure, all previously borrowed references should
be freed. Especially if the program is not failing immediately

This patch must be backported as far as 2.0.

(cherry picked from commit 2417ebcc013b23ac961afb436b9b2dead32c28b0)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 9fe95de0df2748362fddc4acf84dd19c40de6a9f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/spoa_server/ps_python.c