diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-12-27 00:25:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-12-27 00:25:54 +0000 |
commit | 1503021ee59e8ecfa4052b8fb8b44b9a4eddef77 (patch) | |
tree | 0624b22094c6df685f0c39b7ffa6bfcd4b2db249 /src/or/buffers.c | |
parent | 3a5bee150f444a2882dffd3c68309ca1be29f94f (diff) | |
download | tor-1503021ee59e8ecfa4052b8fb8b44b9a4eddef77.tar.gz tor-1503021ee59e8ecfa4052b8fb8b44b9a4eddef77.zip |
r15723@tombo: nickm | 2007-12-26 19:25:51 -0500
Actually trim freelists.
svn:r12991
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 26a31cc4ea..9a8064a27c 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -247,8 +247,9 @@ buf_shrink_freelists(int free_all) --n_to_free; } tor_assert(!n_to_free); - freelists[i].lowest_length = freelists[i].cur_length = n_to_skip; + freelists[i].cur_length = n_to_skip; } + freelists[i].lowest_length = freelists[i].cur_length; assert_freelist_ok(&freelists[i]); } } |