From 54af97ccdcf35247d753429e56222fd9beb6da7b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 26 Sep 2002 13:19:13 +0000 Subject: [PATCH] stop duplicate free svn:r114 --- src/or/routers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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