Use internal reputation variables to verify memory allocation
The reputation code (rephist.c
) has internal variables to keep track on the memory allocated by its objects. However, when the bandwidth arrays are freed, it forgets to decrease the memory allocation counter. This leads to discrepancy between the recorded and the actual amount of memory that is allocated when the bandwidth arrays are reinitialized.