summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 4076638153..a00a5c6678 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -106,8 +106,9 @@ _free_link_history(void *val)
}
static void
-free_or_history(or_history_t *hist)
+free_or_history(void *_hist)
{
+ or_history_t *hist = _hist;
strmap_free(hist->link_history_map, _free_link_history);
tor_free(hist);
}