]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cpu-topo: check the correct variable for NULL after malloc()
authorWilly Tarreau <w@1wt.eu>
Sat, 12 Apr 2025 16:22:34 +0000 (18:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Apr 2025 16:23:29 +0000 (18:23 +0200)
commit4a44d592ae102162f5d989630860001357de750a
tree802dab6c7f2da7a3477640e1ad889953c74e19e7
parent39c05cedff4e478e950431cf68d8db5ba8e892d3
BUG/MINOR: cpu-topo: check the correct variable for NULL after malloc()

We were testing ha_cpu_topo instead of ha_cpu_clusters after an allocation,
making the check ineffective.

No backport is needed.
src/cpu_topo.c