Skip to content
Permalink
Browse files

Fix overallocation

  • Loading branch information...
jackpot51 committed Jun 15, 2017
1 parent c9cbdab commit 85c02365c96e9f2b551edeb8f7c4b306ea4feb04
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/memory/recycle.rs
@@ -92,7 +92,7 @@ impl<T: FrameAllocator> FrameAllocator for RecycleAllocator<T> {
if let Some(i) = small_i {
let (address, remove) = {
let free = &mut self.free[i];
free.1 -= 1;
free.1 -= count;
(free.0 + free.1 * 4096, free.1 == 0)
};

0 comments on commit 85c0236

Please sign in to comment.
You can’t perform that action at this time.