diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-16 08:20:10 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-16 08:20:10 +0000 |
commit | 98a56a386df73290e2f97d252d219d95bffa5099 (patch) | |
tree | 91b5c896f2947479710a9f9993cca21cab2decb4 /src/or/routerparse.c | |
parent | 71c84abdff1f8366ba5f3fad6496dd1735273222 (diff) | |
download | tor-98a56a386df73290e2f97d252d219d95bffa5099.tar.gz tor-98a56a386df73290e2f97d252d219d95bffa5099.zip |
our unit tests leak memory like a sieve.
fix two actual memory leaks found while cleaning up a bit.
svn:r12829
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 18131b8e03..c386a004a5 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -2407,6 +2407,7 @@ networkstatus_parse_detached_signatures(const char *s, const char *eos) sigs = NULL; done: SMARTLIST_FOREACH(tokens, directory_token_t *, t, token_free(t)); + smartlist_free(tokens); return sigs; } |