BUG/MINOR: buffers: MT_LIST_DEL_SAFE() expects the temporary pointer.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 10 Mar 2020 16:39:21 +0000 (17:39 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 10 Mar 2020 16:44:40 +0000 (17:44 +0100)
commit6c96fc166c314da2fdae26b5080a506bec25b29c
tree15e3bc34a4700a31b68f60b6911158533ef69739
parent2d232c2131e97ba9e021974cb992ac2e6b03797b
BUG/MINOR: buffers: MT_LIST_DEL_SAFE() expects the temporary pointer.

When calling MT_LIST_DEL_SAFE(), give him the temporary pointer "tmpelt",
as that's what is expected. We want to be able to set that pointer to NULL,
to let other parts of the code know we deleted an element.
src/buffer.c