diff options
author | Roger Dingledine <arma@torproject.org> | 2002-09-26 13:19:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-09-26 13:19:13 +0000 |
commit | 54af97ccdcf35247d753429e56222fd9beb6da7b (patch) | |
tree | eedd54d52e81e2fae919671912aedf275e8311ac | |
parent | f033442be292f9f573794913ca99fca83d622535 (diff) | |
download | tor-54af97ccdcf35247d753429e56222fd9beb6da7b.tar.gz tor-54af97ccdcf35247d753429e56222fd9beb6da7b.zip |
stop duplicate free
svn:r114
-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]; |