]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: threads: fix pthread_mutex_unlock when !USE_THREAD
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Jul 2021 12:42:32 +0000 (14:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Jul 2021 12:43:21 +0000 (14:43 +0200)
commitb3c4a8f59d5a7d235fc5a4e447f2f8351718df9d
tree00a9e84f9e26738dac38c6881c7a1921a970bfd4
parentacff30975341a907784e489e3a7e384f3550211e
BUILD: threads: fix pthread_mutex_unlock when !USE_THREAD

Commit 048368ef6 ("MINOR: deinit: always deinit the init_mutex on
failed initialization") added the missing unlock but forgot to
condition it on USE_THREAD, resulting in a build failure. No
backport is needed.

This addresses oss-fuzz issue 36426.
src/haproxy.c