Commit 1503021e authored by Nick Mathewson's avatar Nick Mathewson 🐛
Browse files

r15723@tombo: nickm | 2007-12-26 19:25:51 -0500

 Actually trim freelists.


svn:r12991
parent 3a5bee15
......@@ -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]);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment