diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-26 00:11:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-26 00:11:46 -0400 |
commit | fa202c4127a7fb0769166cb43757d3fbc8726fc8 (patch) | |
tree | 45c448cd2091b8de7670cfc04aeabec3f2afe0f4 /src | |
parent | 1cf02605d4819f200ac70df6ea6c75cfd1ef14e5 (diff) | |
download | tor-fa202c4127a7fb0769166cb43757d3fbc8726fc8.tar tor-fa202c4127a7fb0769166cb43757d3fbc8726fc8.tar.gz |
Fix memory leak in test_geoip
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index 9bceab5c0..f7e26a6f3 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. */ |