diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routers.c b/src/or/routers.c index a0e4da6d84..dd0ddf2f2c 100644 --- a/src/or/routers.c +++ b/src/or/routers.c @@ -191,7 +191,8 @@ void router_forget_router(uint32_t addr, uint16_t port) { assert(i != rarray_len); /* if so then router_get_by_addr_port should have returned null */ - free(router); +// free(router); /* don't actually free; we'll free it when we free the whole thing */ + // log(LOG_DEBUG,"router_forget_router(): Forgot about router %d:%d",addr,port); for(; i<rarray_len-1;i++) router_array[i] = router_array[i+1]; |