diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-02-11 01:26:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-02-11 01:26:47 +0000 |
commit | f672577bc6d32ecfe96582b463a83cac8eaac66f (patch) | |
tree | 03999d6f3338a1383cea660189cad8f6fcdf08b2 /src/or/rephist.c | |
parent | 60f234f42b63ed6a5208c70bbc4c32e532cc903d (diff) | |
download | tor-f672577bc6d32ecfe96582b463a83cac8eaac66f.tar.gz tor-f672577bc6d32ecfe96582b463a83cac8eaac66f.zip |
Free even more things on shutdown. Temporarily move tor_free_all out from #ifdef so it gets tested more.
svn:r3614
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 3 |
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); } |