xo-alloc2: bugfix: account for guard_z for begin_header()
This commit is contained in:
parent
cb0add52df
commit
c9d37e13d1
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ namespace xo {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
return (AllocHeader *)lo_;
|
||||
return (AllocHeader *)(lo_ + config_.header_.guard_z_);
|
||||
}
|
||||
|
||||
AllocHeader *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue