chore(big): add assertion to BigStack::Free

This commit is contained in:
fallenoak 2023-02-04 23:50:00 -06:00
parent 0a941aaa08
commit 0197d20ca0
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D

View file

@ -14,6 +14,8 @@ BigBuffer& BigStack::Alloc(uint32_t* count) {
}
void BigStack::Free(uint32_t count) {
STORM_ASSERT(count <= this->m_used);
this->m_used -= count;
}