Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:msmeissn:branches:network:chromium
chromium
chromium-124-fix-deallocate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-124-fix-deallocate.patch of Package chromium
Index: chromium-124.0.6367.60/base/allocator/partition_allocator/src/partition_alloc/internal_allocator.h =================================================================== --- chromium-124.0.6367.60.orig/base/allocator/partition_allocator/src/partition_alloc/internal_allocator.h +++ chromium-124.0.6367.60/base/allocator/partition_allocator/src/partition_alloc/internal_allocator.h @@ -39,6 +39,11 @@ void InternalAllocator<T>::deallocate(va InternalAllocatorRoot().Free<FreeFlags::kNoHooks>(ptr); } +template <typename T> +void InternalAllocator<T>::deallocate(value_type* ptr, long) { + InternalAllocatorRoot().Free<FreeFlags::kNoHooks>(ptr); +} + // Create an object on heap in the internal partition. template <typename T, typename... Args> T* ConstructAtInternalPartition(Args&&... args) { Index: chromium-124.0.6367.60/base/allocator/partition_allocator/src/partition_alloc/internal_allocator_forward.h =================================================================== --- chromium-124.0.6367.60.orig/base/allocator/partition_allocator/src/partition_alloc/internal_allocator_forward.h +++ chromium-124.0.6367.60/base/allocator/partition_allocator/src/partition_alloc/internal_allocator_forward.h @@ -49,6 +49,7 @@ class InternalAllocator { value_type* allocate(std::size_t count); void deallocate(value_type* ptr, std::size_t); + void deallocate(value_type* ptr, long); }; // Inherit this to make a class allocated on the internal partition.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor