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 | 404c224c711714f014288c79257c4bfd3880905c (patch) | |
tree | daadabd298742fe1eed9fe457ddfedc245f49eef /src | |
parent | a47d12c64d51edf702d7beaefb1f8ca97e8dd0f5 (diff) | |
parent | 54cd2578efa9137bac3220230345c6f4121be20b (diff) | |
download | tor-404c224c711714f014288c79257c4bfd3880905c.tar.gz tor-404c224c711714f014288c79257c4bfd3880905c.zip |
Merge branch 'maint-0.4.4'
Diffstat (limited to 'src')
-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: */ |