# | Line 79 | Line 79 | void clear_stats() { | |
---|---|---|
79 | ||
80 | for (i = 0; i < num_stats; i++) | |
81 | free(stats[i].name); | |
82 | – | free(stats); |
83 | – | stats = NULL; |
82 | num_stats = 0; | |
85 | – | alloc_stats = 0; |
83 | } | |
84 | ||
85 | /* Add a stat. The varargs make up the name, joined with dots; the name is |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |