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.
1 parent fe6652f commit b38c164Copy full SHA for b38c164
library/std/src/sys/windows/alloc.rs
@@ -70,7 +70,7 @@ unsafe impl GlobalAlloc for System {
70
let header = get_header(ptr);
71
c::HeapFree(c::GetProcessHeap(), 0, header.0 as c::LPVOID);
72
}
73
- }
+ };
74
debug_assert!(err != 0, "Failed to free heap memory: {}", c::GetLastError());
75
76
0 commit comments