File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b210c7ad9741fa8d560494a5686d4ac62519899f
2
+ refs/heads/master: 166d14e42de0d29ba88fa5a88551a76f7a12418e
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl arena for arena {
27
27
let mut head = list:: head ( self . chunks ) ;
28
28
let chunk_size = vec:: alloc_len ( head. data ) ;
29
29
let new_min_chunk_size = uint:: max ( n_bytes, chunk_size) ;
30
- head = chunk ( uint:: next_power_of_two ( new_min_chunk_size) ) ;
30
+ head = chunk ( uint:: next_power_of_two ( new_min_chunk_size + 1 u ) ) ;
31
31
self . chunks = list:: cons ( head, @self . chunks ) ;
32
32
33
33
ret self. alloc ( n_bytes, align) ;
You can’t perform that action at this time.
0 commit comments