From e2dd1335d4b531af302ad49ffacb093005bc2ddc Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Tue, 22 Nov 2022 11:36:42 +0100 Subject: [PATCH] Fix issues of the CI --- ctru-rs/src/linear.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/linear.rs b/ctru-rs/src/linear.rs index 507cacd..8a68de6 100644 --- a/ctru-rs/src/linear.rs +++ b/ctru-rs/src/linear.rs @@ -37,6 +37,6 @@ unsafe impl Allocator for LinearAllocator { } unsafe fn deallocate(&self, ptr: std::ptr::NonNull, _layout: std::alloc::Layout) { - unsafe { ctru_sys::linearFree(ptr.as_ptr() as *mut _) }; + ctru_sys::linearFree(ptr.as_ptr() as *mut _); } }