mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(list): add missing flag to new node allocations
This commit is contained in:
parent
8ed2e9a9bf
commit
b4485a3498
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ int32_t TSList<T, TGetLink>::MemLineNo() const {
|
|||
|
||||
template <class T, class TGetLink>
|
||||
T* TSList<T, TGetLink>::NewNode(uint32_t location, size_t extrabytes, uint32_t flags) {
|
||||
void* m = SMemAlloc(sizeof(T) + extrabytes, this->MemFileName(), this->MemLineNo(), flags);
|
||||
void* m = SMemAlloc(sizeof(T) + extrabytes, this->MemFileName(), this->MemLineNo(), flags | 0x8);
|
||||
|
||||
T* node;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue