Fix issue with reusing temporary page frame

This commit is contained in:
Jeremy Soller
2017-04-14 20:59:01 -06:00
parent 7c1d5d8306
commit 903432f057

View File

@@ -39,7 +39,7 @@ impl TemporaryPage {
/// Unmaps the temporary page in the active table.
pub fn unmap(&mut self, active_table: &mut ActivePageTable) {
let result = active_table.unmap(self.page);
let (result, _frame) = active_table.unmap_return(self.page);
result.flush(active_table);
}
}