Hacker News new | ask | show | jobs
by LoganDark 1182 days ago
> invariant

There is absolutely no such invariant here that allocations must be freed in the reverse order that they were allocated in. This was never a part of the contract.

> this particular one's API has quite the footgun

Agreed, however.