Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
1503021e
Commit
1503021e
authored
Dec 27, 2007
by
Nick Mathewson
🐛
Browse files
r15723@tombo: nickm | 2007-12-26 19:25:51 -0500
Actually trim freelists. svn:r12991
parent
3a5bee15
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/buffers.c
View file @
1503021e
...
...
@@ -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
]);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment