mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
91ab2ac5aa
The internal memory allocation and history object counters of the reputation code can be used to verify the correctness of (part of) the code. Using these counters revealed an issue where the memory allocation counter is not decreased when the bandwidth arrays are freed. A new function ensures the memory allocation counter is decreased when a bandwidth array is freed. This commit also removes an unnecessary cast which was found while working on the code.
5 lines
204 B
Plaintext
5 lines
204 B
Plaintext
o Minor bugfixes (code correctness)
|
|
- Assert that allocated memory held by the reputation code is freed
|
|
according to its internal counters. Fixes bug 17753; bugfix on
|
|
tor-0.1.1.1-alpha.
|