diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-05-12 18:23:34 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-05-12 18:23:34 -0700 |
commit | 39d4e67be8283b2a7141a7aa8342d30e27f47e6f (patch) | |
tree | dbc602ce1470c3e8c7b2d13ec89336464b563956 /src/or/circuitlist.c | |
parent | 17435384c050b29cd3c70819ac7176c407f4d1bb (diff) | |
download | tor-39d4e67be8283b2a7141a7aa8342d30e27f47e6f.tar.gz tor-39d4e67be8283b2a7141a7aa8342d30e27f47e6f.zip |
Add --disable-mempools configure option
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index c54a95419a..e482fa5358 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -1975,7 +1975,9 @@ circuits_handle_oom(size_t current_allocation) break; } SMARTLIST_FOREACH_END(circ); +#ifdef ENABLE_MEMPOOLS clean_cell_pool(); /* In case this helps. */ +#endif /* ENABLE_MEMPOOLS */ buf_shrink_freelists(1); /* This is necessary to actually release buffer chunks. */ |