fix(list): add missing flag to new node allocations

This commit is contained in:
fallenoak 2021-01-06 22:39:55 -06:00
parent 8ed2e9a9bf
commit b4485a3498
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D

View file

@ -171,7 +171,7 @@ int32_t TSList<T, TGetLink>::MemLineNo() const {
template <class T, class TGetLink> template <class T, class TGetLink>
T* TSList<T, TGetLink>::NewNode(uint32_t location, size_t extrabytes, uint32_t flags) { 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; T* node;