allocator: remove redundant check This test is already performed by check_timeout_pointer above
diff --git a/sdk/core/allocator/main.cc b/sdk/core/allocator/main.cc index 492ebf2..ad838be 100644 --- a/sdk/core/allocator/main.cc +++ b/sdk/core/allocator/main.cc
@@ -893,11 +893,6 @@ { return nullptr; } - if (!check_pointer<PermissionSet{Permission::Load, Permission::Store}>( - timeout)) - { - return nullptr; - } // Use the default memory space. return malloc_internal(bytes, std::move(g), cap, timeout, false, flags); }