fix zone::chunk_list::clear

This commit is contained in:
Arenoros
2023-08-31 22:39:59 +03:00
parent 04292fe63d
commit 035bfeb39e
+2 -2
View File
@@ -78,9 +78,9 @@ private:
other.m_head = MSGPACK_NULLPTR;
return *this;
}
finalizer* m_head;
private:
finalizer* m_head;
finalizer_array(const finalizer_array&);
finalizer_array& operator=(const finalizer_array&);
};
@@ -106,7 +106,7 @@ private:
::free(c);
c = n;
}
m_head->m_next = MSGPACK_NULLPTR;
m_head = MSGPACK_NULLPTR;
m_free = chunk_size;
m_ptr = ptr;
}