pub unsafe fn unreserve(addr: usize, _bytes: usize) -> Result<(), io::Error> {
    // size is not needed, the entire reserved block is freed
    let ret = VirtualFree(addr as *mut _, 0, MEM_RELEASE);

    if ret == 0 {
        Err(io::Error::last_os_error())
    } else {
        Ok(())
    }
}
/// Free all mappings (allocations and reservations) overlapping any address
/// between `addr` and `addr+bytes`.
Free all mappings (allocations and reservations) overlapping any address
between `addr` and `addr+bytes`.
Free all mappings ( allocations and reservations ) overlapping any address between ` addr ` and ` addr + bytes ` .
pub unsafe fn unreserve(addr: usize, _bytes: usize) -> Result<(), io::Error> {
    // size is not needed, the entire reserved block is freed
    let ret = VirtualFree(addr as *mut _, 0, MEM_RELEASE);
    if ret == 0 {
        Err(io::Error::last_os_error())
    } else {
        Ok(())
    }
}
pub unsafe fn unreserve ( addr : usize , _bytes : usize ) -> Result < ( ) , io :: Error > { // size is not needed, the entire reserved block is freed let ret = VirtualFree ( addr as * mut _ , 0 , MEM_RELEASE ) ; if ret == 0 { Err ( io :: Error :: last_os_error ( ) ) } else { Ok ( ( ) ) } }
Free all mappings (allocations and reservations) overlapping any address
between `addr` and `addr+bytes`.
Free all mappings ( allocations and reservations ) overlapping any address between ` addr ` and ` addr + bytes ` .
addr
usize
_bytes
usize
addr
usize
_bytes
usize