mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
DL_SIZE_IMPL also dereference addr
DL_SIZE_IMPL also dereference addr, so call inside Null check statement.
This commit is contained in:
@@ -1379,8 +1379,8 @@ boost_cont_command_ret_t boost_cont_allocation_command
|
||||
if(!addr) addr = mspace_malloc_lockless(ms, limit_size);
|
||||
if(addr){
|
||||
s_allocated_memory += chunksize(mem2chunk(addr));
|
||||
*received_size = DL_SIZE_IMPL(addr);
|
||||
}
|
||||
*received_size = DL_SIZE_IMPL(addr);
|
||||
ret.first = addr;
|
||||
ret.second = 0;
|
||||
if(addr){
|
||||
|
Reference in New Issue
Block a user