Skip to content
Snippets Groups Projects
Commit 47f1d19f authored by David Goulet's avatar David Goulet :panda_face:
Browse files

test: Increment rend cache allocation before freeing


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 0.4.5.0-alpha-dev
  7eef9ced)

Fixes #40125

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 72484a49
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment