Skip to content

test: Increment rend cache allocation before freeing

David Goulet requested to merge dgoulet/tor:ticket40125_035_01 into master

The rend_cache/entry_free was missing the rend cache allocation increment before freeing the object.

Without it, it had an underflow bug:

Sep 17 08:40:13.845 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 7eef9ced)

Fixes #40125 (closed)

Signed-off-by: David Goulet

Merge request reports