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 3f834d1 commit 98a286cCopy full SHA for 98a286c
DataFormats/Headers/include/Headers/Stack.h
@@ -39,7 +39,7 @@ struct Stack {
39
struct freeobj {
40
freeobj(memory_resource* mr) : resource(mr) {}
41
memory_resource* resource{nullptr};
42
- void operator()(std::byte* ptr) { resource->deallocate(ptr, 0, alignof(std::max_align_t)); }
+ void operator()(std::byte* ptr) { resource->deallocate(ptr, headerStackSize(ptr), alignof(std::max_align_t)); }
43
};
44
45
public:
0 commit comments