diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-09-17 13:56:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-09-17 13:56:40 -0400 |
commit | 078194ecafebfff2f6aa37868539ccee15ebe73c (patch) | |
tree | a7a8c859e64aedb766bc5817b64744c6ad669297 /src/test/test_rendcache.c | |
parent | 7915b651d9e926d829d2241a161c7afdaf0e7ffb (diff) | |
parent | 47f1d19f8e6e1795ad7a73cb96bf44f355442e85 (diff) | |
download | tor-078194ecafebfff2f6aa37868539ccee15ebe73c.tar.gz tor-078194ecafebfff2f6aa37868539ccee15ebe73c.zip |
Merge branch 'maint-0.3.5' into maint-0.4.3
Diffstat (limited to 'src/test/test_rendcache.c')
-rw-r--r-- | src/test/test_rendcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c index cfeb640e02..de8c0aef41 100644 --- a/src/test/test_rendcache.c +++ b/src/test/test_rendcache.c @@ -974,11 +974,13 @@ test_rend_cache_entry_free(void *data) // Handles NULL descriptor correctly e = tor_malloc_zero(sizeof(rend_cache_entry_t)); + rend_cache_increment_allocation(rend_cache_entry_allocation(e)); rend_cache_entry_free(e); // Handles non-NULL descriptor correctly e = tor_malloc_zero(sizeof(rend_cache_entry_t)); e->desc = tor_malloc(10); + rend_cache_increment_allocation(rend_cache_entry_allocation(e)); rend_cache_entry_free(e); /* done: */ |