[tor/master] Fix memory leak in test_geoip

1 May
2014
1 May
'14
4:31 p.m.
commit fa202c4127a7fb0769166cb43757d3fbc8726fc8 Author: Nick Mathewson <nickm@torproject.org> Date: Sat Apr 26 00:11:46 2014 -0400 Fix memory leak in test_geoip --- src/test/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test.c b/src/test/test.c index 9bceab5..f7e26a6 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -955,6 +955,7 @@ test_geoip(void) geoip_start_dirreq((uint64_t) 1, 1024, DIRREQ_TUNNELED); s = geoip_format_dirreq_stats(now + 86400); test_streq(dirreq_stats_4, s); + tor_free(s); /* Stop collecting directory request statistics and start gathering * entry stats. */
4037
Age (days ago)
4037
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org