aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 802458c56f..ae9442dd55 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -664,7 +664,7 @@ rep_hist_update_state(or_state_t *state)
s_values = r?&state->BWHistoryReadValues :&state->BWHistoryWriteValues;
if (*s_values) {
- SMARTLIST_FOREACH(*s_values, char *, cp, tor_free(cp));
+ SMARTLIST_FOREACH(*s_values, char *, val, tor_free(val));
smartlist_free(*s_values);
}
if (! server_mode(get_options())) {