diff options
author | Roger Dingledine <arma@torproject.org> | 2002-12-03 05:12:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-12-03 05:12:30 +0000 |
commit | 8f2beefca45d929134b1e4a64151430cd21de5f5 (patch) | |
tree | 444db106ecc30e1720989bc9d5e69d422e7195e6 | |
parent | ac10bb6319fed0abb61ed946dae4efe4a9385f81 (diff) | |
download | tor-8f2beefca45d929134b1e4a64151430cd21de5f5.tar.gz tor-8f2beefca45d929134b1e4a64151430cd21de5f5.zip |
was leaking 28 bytes every 100 minutes
svn:r144
-rw-r--r-- | src/or/routers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routers.c b/src/or/routers.c index 81a7cf34bb..0861ca4ccc 100644 --- a/src/or/routers.c +++ b/src/or/routers.c @@ -355,6 +355,8 @@ int router_get_list_from_string(char *s) { case 1: /* it is me */ if(!my_routerinfo) /* save it, so we can use it for directories */ my_routerinfo = router; + else + routerlist_free(router); break; default: log(LOG_ERR,"router_get_list_from_string(): router_is_me returned error."); |