diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-20 14:15:23 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-20 14:15:23 +0000 |
commit | ddd0054a8504f274e3cf16d6728b8b052e0c8a49 (patch) | |
tree | 10316521a4602884e10f3c176b77cc328362da0a /src/common/mempool.c | |
parent | 0b661f65759408af19fbd30587deffc0bc3163d8 (diff) | |
download | tor-ddd0054a8504f274e3cf16d6728b8b052e0c8a49.tar.gz tor-ddd0054a8504f274e3cf16d6728b8b052e0c8a49.zip |
point out two remote crash bugs, a memory leak, and a few other
items we should probably look into.
svn:r10227
Diffstat (limited to 'src/common/mempool.c')
-rw-r--r-- | src/common/mempool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/mempool.c b/src/common/mempool.c index feb32230b1..173c6034da 100644 --- a/src/common/mempool.c +++ b/src/common/mempool.c @@ -388,6 +388,8 @@ mp_pool_clean(mp_pool_t *pool, int n) n = pool->min_empty_chunks + (-n); if (n < pool->n_empty_chunks) pool->min_empty_chunks = n; + /* XXX020 don't we want some sort of return here, given the + * assert that follows? -RD */ } ASSERT(n>=0); |