diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-09 21:43:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-09 21:43:41 +0000 |
commit | b248ed620fb9ab4eb2534fd493d83e26e0cdfbcc (patch) | |
tree | 709dd6271befa2e03f72dc70b8d1bf48ab91b0fc /src/or/main.c | |
parent | a7696a936d75cfe86438d9bb71498c4dff044bf0 (diff) | |
download | tor-b248ed620fb9ab4eb2534fd493d83e26e0cdfbcc.tar tor-b248ed620fb9ab4eb2534fd493d83e26e0cdfbcc.tar.gz |
r12704@catbus: nickm | 2007-05-09 17:43:34 -0400
Periodically clean the freelist of buffer memory chunks.
svn:r10149
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index d87dd7fec..2c2387255 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1021,6 +1021,7 @@ run_scheduled_events(time_t now) buf_shrink(conn->inbuf); } clean_cell_pool(); + buf_shrink_freelist(); time_to_shrink_memory = now + MEM_SHRINK_INTERVAL; } |