]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cache: use key=0 as a condition for freeing
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 21 Nov 2017 19:01:27 +0000 (20:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Nov 2017 14:13:54 +0000 (15:13 +0100)
commit0872766e313651c73f5a3fef1d23ec1389f2203d
tree66d77cc3f676423b57194b19f5021b7dc745e137
parent1f49a366fd94f4c9f68c942c66e27ac4279d6370
BUG/MEDIUM: cache: use key=0 as a condition for freeing

The cache was trying to remove objects from the tree while they were
already removed from it. We set the key to 0 as a check for not trying
to remove the object from the tree when we are still using the object.
src/cache.c