8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23eb0e8 + ccf9897 commit 2f806e3Copy full SHA for 2f806e3
uefi/src/table/boot.rs
@@ -1737,8 +1737,6 @@ impl MemoryMapBackingMemory {
1737
}
1738
1739
1740
-// Don't drop when we use this in unit tests.
1741
-#[cfg(not(test))]
1742
174 7860 0
impl Drop for MemoryMapBackingMemory {
1743
fn drop(&mut self) {
1744
if let Some(bs) = system_table_boot() {
@@ -1747,7 +1745,7 @@ impl Drop for MemoryMapBackingMemory {
1747
1745
log::error!("Failed to deallocate memory map: {e:?}");
1748
1746
1749
} else {
1750
- log::debug!("Boot services are excited. Memory map won't be freed using the UEFI boot services allocator.");
+ log::debug!("Boot services are exited. Memory map won't be freed using the UEFI boot services allocator.");
1751
1752
1753
0 commit comments